[thelist] design "index of"

Bob Haroche spambait at onpointsolutions.com
Sat Oct 19 09:31:00 CDT 2002


> >Is there a way to style/design the "web directory index" for a domain?
> >You know, the default layout you get when you point a browser to a
directory
> >that has no index page...? can that be designed somehow?


I simply use a custom 403 error page. My .htaccess file has this:

# Prevent Directory Browsing #
Options -Indexes

# Specify Custom Error Pages #
ErrorDocument 403 /errors/403.html

Then in my errors folder, I place my custom 403.html page. This is only
triggered for directories like images, scripts and styles. I typically use
an index page in all my content directories.


---------------
Regards,
Bob Haroche
O n P o i n t  S o l u t i o n s
www.OnPointSolutions.com




More information about the thelist mailing list