Oh no! Where's the JavaScript?
Your Web browser does not have JavaScript enabled or does not support JavaScript. Please enable JavaScript on your Web browser to properly view this Web site, or upgrade to a Web browser that does support JavaScript.
Not a member yet? Click here to register.
Forgot Password?

406 Not Acceptable

Asked Modified Viewed 3,386 times
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
asked
Veteran Member

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??
0 replies

7 posts

A
Archer
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums
answered
Member

try this.

<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

Quote

Philip wrote:
I tried adding SecFilterEngine off to .htaccess but this caused a Server 500 error.
0 replies
H
Homdax
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
answered
Fusioneer

Googleing "htaccess secfilterengine 406" gives lot of hits but most suggest you should do what Archer writes.

I found this:

Quote

Most of the time a file or folder just needs to be changed to not be writable by group.
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

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 :)
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Quote

I tried adding SecFilterEngine off to .htaccess but this caused a Server 500 error.

That is because there is no module SecFilterEngine.

Quote

<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)?
0 replies
H
HobbyMan
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
answered
Veteran Member

I first tried this...

Quote

<IfModule mod_security.c>
SecFilterEngine Off
</IfModule>


and it made no difference.
0 replies
W
Wanabo
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
answered
Senior Member

Check the ownership of that file, logged in as root via SSH.
0 replies

Labels

None yet

Statistics

  • Views 0 views
  • Posts 7 posts
  • Votes 0 votes
  • Topic users 4 members

4 participants

H
H
Homdax 10
  • Fusioneer, joined since
  • Contributed 2,247 posts on the community forums.
  • Started 108 threads in the forums
W
W
Wanabo 10
www.probemyip.com/probe-my-ip-80x15.png
pHp-Fusion.Asia & pHp-Fusion.Fr & pHp-Fusion.Cn are available for a localized support community. Send PB for info.
  • Senior Member, joined since
  • Contributed 598 posts on the community forums.
  • Started 94 threads in the forums
H
H
Just some Guy
  • Veteran Member, joined since
  • Contributed 1,486 posts on the community forums.
  • Started 91 threads in the forums
  • Started this discussions
A
A
Archer 9
  • Member, joined since
  • Contributed 115 posts on the community forums.
  • Started 7 threads in the forums

Notifications

Track thread

You are not receiving notifications from this thread.

Related Questions

Not yet