HTTP 406 when submitting new page

For questions and problems with the CMS core. This board is NOT for any 3rd party modules, addons, PHP scripts or anything NOT distributed with the CMS made simple package itself.
Post Reply
pdedecker
Forum Members
Forum Members
Posts: 28
Joined: Sun Apr 16, 2006 8:25 am

HTTP 406 when submitting new page

Post by pdedecker »

When submitting a newly added page to the server, I get this error message:
406 Not Acceptable
An appropriate representation of the requested resource /cmsms/admin/addcontent.php could not be found on this server.
What does this mean?
alby

Re: HTTP 406 when submitting new page

Post by alby »

pdedecker wrote: When submitting a newly added page to the server, I get this error message:
Have you mod_security enable?
Try with an .htaccess in admin folder:

Code: Select all

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Alby
pdedecker
Forum Members
Forum Members
Posts: 28
Joined: Sun Apr 16, 2006 8:25 am

Re: HTTP 406 when submitting new page

Post by pdedecker »

alby wrote: Have you mod_security enable?
I can't find a variabele that is called mod_security in config.php.
alby wrote: Try with an .htaccess in admin folder:

Code: Select all

<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
I tried that, but then I get a HTTP 500 error when accessing /cmsms/admin/.
alby

Re: HTTP 406 when submitting new page

Post by alby »

pdedecker wrote: I can't find a variabele that is called mod_security in config.php.
mod_security is a module for apache server
Check documentation for disabled or ask your provider

Alby
pdedecker
Forum Members
Forum Members
Posts: 28
Joined: Sun Apr 16, 2006 8:25 am

Re: HTTP 406 when submitting new page

Post by pdedecker »

Hmm... I can't find it in my web host's documentation or in the control panel.

Maybe worth mentioning is that they also host a second site for me that doesn't experience this issue. Another thing worth mentioning is that my first site did not have this problem at first. It worked fine for a long time. It was not until recently that I started experiencing this issue, even though I haven't changed any of the webserver settings.

Edit: I have access to the filesystem via FTP. Where should I look for the Apache configuration file? /etc/httpd/conf/ is empty.
Last edited by pdedecker on Thu Aug 21, 2008 11:53 am, edited 1 time in total.
alby

Re: HTTP 406 when submitting new page

Post by alby »

pdedecker wrote: Edit: I have access to the filesystem via FTP. Where should I look for the Apache configuration file? /etc/httpd/conf/ is empty.
depend to your distribution ....
but I think that is better ask to your provider .....

Alby
pdedecker
Forum Members
Forum Members
Posts: 28
Joined: Sun Apr 16, 2006 8:25 am

Re: HTTP 406 when submitting new page

Post by pdedecker »

This is interesting... I haven't changed anything yet, but sometimes I get that nasty error and sometimes it just works fine. Does that mean it's not related to that Apache setting?
alby

Re: HTTP 406 when submitting new page

Post by alby »

pdedecker wrote: This is interesting... I haven't changed anything yet, but sometimes I get that nasty error and sometimes it just works fine. Does that mean it's not related to that Apache setting?
Depend what data arrived on server
mod_security check all data traffic with your server

Alby
Post Reply

Return to “CMSMS Core”