Log In as Root: BIG NOTE: do "cp /etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf.old" so that if something went wrong you put everything back into its place. Also, if you are new to these then I suggest you don't try much with these files unless you know what you are doing. use vi or emac or your favorite editor to edit the "/etc/httpd/conf/httpd.conf" Go near the bottom where you see: NameVirtualHost xxx.xxx.xxx.xxx <VirtualHost xxx.xxx.xxx.xxx> ServerName www.domainname.com ... ... ... </VirtualHost> Find the ServerName you want to enable for Error Docs, and then Before "</VirtualHost>" add the lines: ErrorDocument 401 /Path_TO_File ErrorDocument 403 /Path_TO_File ErrorDocument 404 /Path_TO_File ErrorDocument 500 /Path_TO_File Now, note that the '/' is not from system root but it is from web root of that ServerName. So if you have your error files right under /home/sites/site#/web and let's assume file name error404.html under that directory then the Path would be /error404.html Of course you can put it in a directory and then do /directory/error404.html Save httpd.conf Restart Apache: /etc/rc.d/init.d/httpd restart Enjoy!! Kal Amry -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of F. Lunde Sent: Sunday, July 22, 2001 5:04 PM To: [EMAIL PROTECTED] Subject: RE: [cobalt-developers] AllowOverride (.htaccess) on RaQ 4 Thanks! ..but sorry I'm a bit new to this. How do I do this? ___________________________________________ Fredrik Lunde, Web utvikler / Webdesigner Web: www.norwegiandesigner.net E-post: [EMAIL PROTECTED] Tlf: (+47) 938 29 016 _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ cobalt-developers mailing list [EMAIL PROTECTED] http://list.cobalt.com/mailman/listinfo/cobalt-developers
