|
406 Not Acceptable
|
| HobbyMan |
Posted on 19-05-2012 23:56
|

Super Admin

Posts: 1501
Joined: 24/03/2007
|
Error received...
Not Acceptable
An appropriate representation of the requested resource /administration/news.php could not be found on this server.
Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
I tried adding SecFilterEngine off to .htaccess but this caused a Server 500 error.
Anyone come across this?
I've contacted the host, but maybe there's an easy fix??
|
| |
|
|
| Archer |
Posted on 20-05-2012 00:22
|

Member

Posts: 83
Joined: 06/12/2011
|
try this.
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule> |
| |
|
|
| HobbyMan |
Posted on 20-05-2012 06:21
|

Super Admin

Posts: 1501
Joined: 24/03/2007
|
Philip wrote:
I tried adding SecFilterEngine off to .htaccess but this caused a Server 500 error.
|
| |
|
|
| Richard Ainz |
Posted on 20-05-2012 09:18
|

Super Admin

Posts: 1952
Joined: 24/01/2005
|
Googleing "htaccess secfilterengine 406" gives lot of hits but most suggest you should do what Archer writes.
I found this:
Most of the time a file or folder just needs to be changed to not be writable by group.
|
| |
|
|
| HobbyMan |
Posted on 20-05-2012 09:35
|

Super Admin

Posts: 1501
Joined: 24/03/2007
|
It only seems to affect admin/news.php which is weird. All file & folder permissions are as they should be.
As I said in first post I tried editing .htaccess but it caused another error.
The host recently did some server maintenance so I'm guessing it's at their end. I added the news item directly into the DB so no worries for now
|
| |
|
|
| Wanabo |
Posted on 20-05-2012 10:33
|

Senior Member

Posts: 354
Joined: 06/02/2006
|
I tried adding SecFilterEngine off to .htaccess but this caused a Server 500 error.
That is because there is no module SecFilterEngine.
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
When using the IfModule command it checks wether it is present, and if present execute the command.
On some servers though you need to use 0 or 1 instead of Off or On.
So you may try that.
Are you sure there are not any rewrite rules affecting news.php (in whatever directory)?
|
| |
|
|
| HobbyMan |
Posted on 20-05-2012 12:34
|

Super Admin

Posts: 1501
Joined: 24/03/2007
|
I first tried this...
<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
and it made no difference.
|
| |
|
|
| Wanabo |
Posted on 20-05-2012 12:48
|

Senior Member

Posts: 354
Joined: 06/02/2006
|
Check the ownership of that file, logged in as root via SSH.
|
| |
|