Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

mask/hide index.jsp

Status
Not open for further replies.
jatin4882,

I'm not sure what you're asking. Do you want Apache to not serve index.jsp as the DirectoryIndex for this URL, or to not have index.jsp display in the broser's address bar?

In the first case, you could simply remove index.jsp from your DirectoryIndex in your httpd.conf (or .htaccess as the case may be).

Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Hey Wishdiak,

Thanks for your help, I'm trying to do the later, I want apache to serv out the index.jsp but I dont want to show it written in the browsers address bar.

Regards,
Jatin
 
jatin4882,

I believe that if you set DirectoryIndex to include index.jsp, and index.jsp is the only file that matches DirectoryIndex, then the address bar (in most browsers) will show only the host and server name (
This may not be universally true, but it's a start.


Wishdiak
A+, Network+, Security+, MCSA: Security 2003
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top