[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: [cobalt-users] .htaccess for dummies



> 	My confusion comes more in that I want it to 
> determine the custom error pages for the entire server,
> not just the individual virtual sites or IP-assigned
> sites within the server.  And if I figure out where
> the .htaccess file is or should be, do I load those 
> pages into the same space to eliminate long reference
> entries in the .htaccess file to make it all fly
> right?

You don't need a .htaccess file for that. See /etc/httpd/conf/srm.conf.

#    2) local redirects
#ErrorDocument 404 /missing.html
#  to redirect to local url /missing.html
#ErrorDocument 404 /cgi-bin/missing_handler.pl
#  n.b. can redirect to a script or a document using
server-side-includes.

Then you can just do a reload to "restart" Apache.
-- 
Dan Kriwitsky