Page 1 of 1
HTTP 406 when submitting new page
Posted: Thu Aug 21, 2008 8:39 am
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?
Re: HTTP 406 when submitting new page
Posted: Thu Aug 21, 2008 10:46 am
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
Re: HTTP 406 when submitting new page
Posted: Thu Aug 21, 2008 11:29 am
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/.
Re: HTTP 406 when submitting new page
Posted: Thu Aug 21, 2008 11:33 am
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
Re: HTTP 406 when submitting new page
Posted: Thu Aug 21, 2008 11:47 am
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.
Re: HTTP 406 when submitting new page
Posted: Thu Aug 21, 2008 12:22 pm
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
Re: HTTP 406 when submitting new page
Posted: Fri Aug 22, 2008 1:42 pm
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?
Re: HTTP 406 when submitting new page
Posted: Fri Aug 22, 2008 2:07 pm
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