What does this mean?406 Not Acceptable
An appropriate representation of the requested resource /cmsms/admin/addcontent.php could not be found on this server.
HTTP 406 when submitting new page
HTTP 406 when submitting new page
When submitting a newly added page to the server, I get this error message:
Re: HTTP 406 when submitting new page
Have you mod_security enable?pdedecker wrote: When submitting a newly added page to the server, I get this error message:
Try with an .htaccess in admin folder:
Code: Select all
<IfModule mod_security.c>
SecFilterEngine Off
SecFilterScanPOST Off
</IfModule>
Re: HTTP 406 when submitting new page
I can't find a variabele that is called mod_security in config.php.alby wrote: Have you mod_security enable?
I tried that, but then I get a HTTP 500 error when accessing /cmsms/admin/.alby wrote: Try with an .htaccess in admin folder:Code: Select all
<IfModule mod_security.c> SecFilterEngine Off SecFilterScanPOST Off </IfModule>
Re: HTTP 406 when submitting new page
mod_security is a module for apache serverpdedecker wrote: I can't find a variabele that is called mod_security in config.php.
Check documentation for disabled or ask your provider
Alby
Re: HTTP 406 when submitting new page
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.
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.
Re: HTTP 406 when submitting new page
depend to your distribution ....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.
but I think that is better ask to your provider .....
Alby
Re: HTTP 406 when submitting new page
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
Depend what data arrived on serverpdedecker 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?
mod_security check all data traffic with your server
Alby