

When logging in I get a 'Not Acceptable' error message
Very occasionally, you may get an error message of the following format when you attempt to log into Pixaria on some servers:
Not Acceptable
An appropriate representation of the requested resource /index.login.php
could not be found on this server.
This message may also have a number associated with it (HTTP/1.1 Error Message 406 Not Acceptable)
Why it happens
If you get this error message, it's likely that the Apache module Mod_Security is to blame for the problem. The message usually appears when the Mod_Security system detects an HTTP request which it perceives as a threat or as otherwise dangerous.
I've not been able to find any detailed information about how this error message can be programmatically removed from Pixaria Gallery but the problem is known to occur in numerous other web based applications including WordPress, Menalto Gallery and PHPBB 2.
How to resolve this issue
The only fix at the present time seems to be to place a .htaccess file in the root directory of your Pixaria installation containing the following code:
# Turn off
IndexIgnore */*
<IfModule mod_security.c>
# Turn off mod_security filtering.
SecFilterEngine Off
# The below probably isn't needed, but better safe than sorry.
SecFilterScanPOST Off
</IfModule>
To implement the fix, paste the code above into a blank text file and save it on your server as a file named .htaccess.
Please Note
Before you do this, be sure there isn't an existing file named .htaccess in this location as some FTP programs hide files whose names begin with a period/full stop.
Created: Tuesday, January 16, 2007
Last edited: Tuesday, January 16, 2007
Tools & Utilities
Third Party Resources
|
Random Tips & Tricks
#6 Flush the cache Caching Smarty templates improved the performance of your site but if you're editing templates, you need to to turn off template caching or to flush the Smarty template cache before you try to view changes you've made to a template. Caching options can be found in the appearance control panel of your site. |