Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

setting a fileindex page

 
C Lindstrom
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Have installed both Apache and Tomcat over WIN 98. Upon opening both Apache and Tomcat, entering http://localhost:8080, the Tomcat page pops up and can run the examples. So far, so good.
There is some way to enter something like - http://127.0.0.1/some directory beyond TOMCAT_HOME/
and get an index.html page that displays a list of files in the current directory, so one can navigate down through the file system.
Does anyone know how this is done? Is it grammar that I am missing, or does some .conf file need to be edited?
I checked the javaranch archive, and this subject does not appear to have been asked. If you remember seeing an answer to this question, please send the link to me.
Thanks for any help, connie lindstrom
 
srikanth b
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Lind,
you can try this ,hope can of some use.
http://127.0.0.1:8080/examples/jsp/security/protected/
this will ask for the username and password which by default is user :tomcat and the password :tomcat this will show the contents of the directory.you can go thru that sample jsp found in the webapps/examples/jsp/security/protected/index.jsp.
Regards
srikanth
Originally posted by C Lindstrom:
Hi,
Have installed both Apache and Tomcat over WIN 98. Upon opening both Apache and Tomcat, entering http://localhost:8080, the Tomcat page pops up and can run the examples. So far, so good.
There is some way to enter something like - http://127.0.0.1/some directory beyond TOMCAT_HOME/
and get an index.html page that displays a list of files in the current directory, so one can navigate down through the file system.
Does anyone know how this is done? Is it grammar that I am missing, or does some .conf file need to be edited?
I checked the javaranch archive, and this subject does not appear to have been asked. If you remember seeing an answer to this question, please send the link to me.
Thanks for any help, connie lindstrom

 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic