• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

setting a fileindex page

 
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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


 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic