Yeo, sup?

Lightspeed "406 Not Acceptable"

Came across this strange http error code for the first time today when trying to run an old php script that accesses the file system. Thankfully someone on wordpress posted a quick edit that can be made to the .htaccess file, making everything work again, Yeay!

Of course turning security things off is never the best of ideas, so I placed the below snipplet in a new .htaccess file, which was placed along with the single php script into a folder of their own. .htaccess files only work on the folder that they are placed in/sub folders, so hopefully this will help minamise any damage which can be done.

          <IfModule mod_security.c>
          SecFilterEngine Off
          SecFilterScanPOST Off

<< Go back to the previous page