• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Carey Brown
  • Frits Walraven
Bartenders:
  • Piet Souris
  • Himai Minh

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


 
Rototillers convert rich soil into dirt. Please note that this tiny ad is not a rototiller:
Free, earth friendly heat - from the CodeRanch trailboss
https://www.kickstarter.com/projects/paulwheaton/free-heat
reply
    Bookmark Topic Watch Topic
  • New Topic