Anthony, On Thu, 2003-03-06 at 12:37, Anthony Noe wrote: > what is the best way to create custom 404 pages for each site?
You could do it the way they do on the XTR's. In your httpd.conf file for each virtual host add the following between the <VirtualHost> brackets just after the document root. Although I think anywhere in the virtual host should be OK. ErrorDocument 401 /error/401-authorization.html ErrorDocument 403 /error/403-forbidden.html ErrorDocument 404 /error/404-file-not-found.html ErrorDocument 500 /error/500-internal-server-error.htm If you want this enabled by default then you will need to modify one or more of the cobalt perl scripts. I am not sure which one of the top of my head. Maybe some one else will chime in with that info. Of course with the above in each virtual site you will need a error folder with the appropriate default html error pages. Is this a one time thing or do you want that to be done automatically when adding/creating sites? One time, easy and quick to do. Automatically will require you to roll up your sleeves and add/modify some code. Nothing to major though. -- Sincerely, William L. Thomson Jr. Support Group Obsidian-Studios Inc. 439 Amber Way Petaluma, Ca. 94952 Phone 707.766.9509 Fax 707.766.8989 http://www.obsidian-studios.com _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers