adding index.jsp as default page

filmadscientist

Registered
hi,
can someone tell me who I can set apache to load an index.jsp page before or instead of index.html?

I assume it is in the .htaccess file but I don't know what exactely I would have to do to accomplish this.
thanks,

filmadscientist
 
Make sure you have this in your /etc/httpd/httpd.conf:
Code:
<IfModule mod_dir.c>
    DirectoryIndex index.jsp index.html
</IfModule>
And you'll need to stop/restart Apache (Personal Web Sharing) from the Sharing Preference Pane...
 
Glad I could help, but it seems like you also know something I don't...

Why "sudo apachectl graceful" vs just doing this from the Sharing Preference Pane?

What is the differnece between "sudo apachectl graceful
" and "httpd stp" followed by "httpd start"?
 
Back
Top