CMSMS stops webserver 404 error message?

Help with getting the CMS CORE package up and running. This does not include 3rd party modules, PHP scripts, anything downloaded via module manager or from any external source.
Locked
frankvh
New Member
New Member
Posts: 4
Joined: Mon Jun 22, 2009 8:43 pm

CMSMS stops webserver 404 error message?

Post by frankvh »

Please excuse me if this has been covered before - I've searched the site and forums but didn't find any mention of this.

I'm running on a LiteSpeed server. Within cPanel I had a custom 404 error page setup. It used to work fine.

Then I installed CMSMS 1.6.  I am a new CMSMS user - this is my first time (and I'm quite impressed with it).  In the admin section I do *not* have the custom 404 page enabled (the tick box is cleared). But now my cPanel / webserver 404 error page is not working - it's not being served up.

It appears that installing & running CMSMS "kills" or somehow disables the webserver's 404 error page, so that it's no longer served up even if CMSMS doesn't provide a 404 page itself. Is this expected or normal behaviour? Is there a way to get the server's 404 page working, or must I do it only from within CMSMS?

Thanks!
frankvh
New Member
New Member
Posts: 4
Joined: Mon Jun 22, 2009 8:43 pm

Re: CMSMS stops webserver 404 error message?

Post by frankvh »

Thirty views and not a single comment. Sure is mighty quiet around here.....    :-\

I've been discussing this with my hosting provider, and they've pointed out that:

a) the cPanel custom 404 page handling is done via the .htaccess file
b) the CMSMS install overwrote the .htaccess file

So in all likelihood, this isn't happening just to me; it's likely happening in other fresh CMSMS installs too.

If you already have some custom error pages set up, then you install CMSMS, it's possible your custom pages won't be there anymore. You have to either re-create those pages from within CMSMS, or, edit your .htaccess file to get them working again.

Hopefully this will help anybody else who stumbles across this problem.
alby

Re: CMSMS stops webserver 404 error message?

Post by alby »

frankvh wrote: b) the CMSMS install overwrote the .htaccess file
???
CMSMS install has not a .htaccess that overwrite in root folder (there are some .htaccess in all subdirs).
There is an example of .htaccess for use with mod_rewrite setting (manual change in config.php) in doc folder (file: htaccess.txt) to put after in root folder and RENAME in .htaccess

frankvh wrote: You have to either re-create those pages from within CMSMS, ...
From 1.6 there is a new Custom-Type Page: ErrorPage
A full custom page where you can use tag/plugins also

Alby
Locked

Return to “[locked] Installation, Setup and Upgrade”