Hi,
I set up a custom 404 message in "Global Settings" and for some reason the generic Apache 404 still always comes up when a page is not found...is anyone else having this problem? Is there something I have to do to Apache to get this to work?
Thanks for the help!
Max
Apache 404 still prevails...
-
Pierre M.
Re: Apache 404 still prevails...
Hello,
May be the ErrorDocument directive of your Apache installation is too strong ("too root" context). See your httpd.conf and .htaccess if any.
If you are hosting only CMSms, you may disable the Apache directive to let CMSms' mechanism work as expected.
Are you hosting something else ? Do you have access to httpd.conf ? Are there any .htaccess ?
Pierre M.
May be the ErrorDocument directive of your Apache installation is too strong ("too root" context). See your httpd.conf and .htaccess if any.
If you are hosting only CMSms, you may disable the Apache directive to let CMSms' mechanism work as expected.
Are you hosting something else ? Do you have access to httpd.conf ? Are there any .htaccess ?
Pierre M.
Re: Apache 404 still prevails...
Hi,
Thanks for your resposnse! Yes, I am hosting more than one "virtual server" on this webserver. I am pretty much a newbie at Apache and linux in general...I think I have an .htaccess. I know I have an htttpd.conf.
I will try looking in those files for "ErrorDoccument" directive. How do I make it "less root?" I have multiple CMSMS installations and I would like each one to have its own custom 404 error.
Thanks for your assistance,
Max
Thanks for your resposnse! Yes, I am hosting more than one "virtual server" on this webserver. I am pretty much a newbie at Apache and linux in general...I think I have an .htaccess. I know I have an htttpd.conf.
I will try looking in those files for "ErrorDoccument" directive. How do I make it "less root?" I have multiple CMSMS installations and I would like each one to have its own custom 404 error.
Thanks for your assistance,
Max
-
Pierre M.
Re: Apache 404 still prevails...
You are owning the hosting ? You can modify httpd.conf ? And it is under Linux ? Good news !
May be one way to solve your problem is to remove the global ErrorDocument 404 directive and place such directives only inside the virtualhosts you want (so not the CMSms ones) (and may be only via .htaccess files).
Beware standard sample Apache httpd.conf config files are too much asymetric (for my taste) : there is one "default" "main" server and virtualhosts for N-1 domains ; I'd rather one "fake" tech domain and N virtualhosts.
Hope it helps. Have fun !
Pierre M.
May be one way to solve your problem is to remove the global ErrorDocument 404 directive and place such directives only inside the virtualhosts you want (so not the CMSms ones) (and may be only via .htaccess files).
Beware standard sample Apache httpd.conf config files are too much asymetric (for my taste) : there is one "default" "main" server and virtualhosts for N-1 domains ; I'd rather one "fake" tech domain and N virtualhosts.
Hope it helps. Have fun !
Pierre M.

