I'm not sure what transformed previously--this accustomed to work:

Being able to access a URL on my small server such as the following, does not work: http://world wide web.domain.com/folder/file.php?variable=a&variable2=b

I am obtaining a "Not found The asked for address 406.shtml wasn't available on this server." message.

However, basically access this, it really works: http://world wide web.domain.com/folder/file.php

Adding the question mark after file.php is exactly what causes it to be break. I have not experienced an issue such as this before. In the beginning I figured that .htaccess had something related to it, however i termed as a well known fact it has not been edited whatsoever previously.

Any ideas? I am using CakePHP, however i doubt which has anything related to it it has labored before. All suggestions are welcome!

EDIT: The /application/webroot .htaccess file has this:

<IfModule mod_rewrite.c>
    RewriteEngine On

    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteRule ^(.*)$ index.php?url=$1 [QSA,L]


So far as I understand, this has not transformed whatsoever, and also the URL labored with this particular. The .htaccess file right under /public_html/ consists of this:

RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_HOST} !^www.domain.com$ [NC]
RewriteRule ^(.*)$ http://www.domain.com/$1 [L,R=301]
<IfModule mod_rewrite.c>
   RewriteEngine on

   RewriteRule    ^$ app/webroot/    [L]
   RewriteRule    (.*) app/webroot/$1 [L]


You have a mistake inside your apache config. It's trying to provide you with the 406 error page, but aren't able to find it. Should you fix that you might obtain a more informative error.

This link will let you using the cause of the issue: http://urbangiraffe.com/2005/08/20/mysterious-406-error/

It may be triggered by mod_security. When not your server you need to request your host company.

99.9% probability this has been triggered by a modification of your htaccess file. Something is checking for any query string and redirecting to or attempting to load personal files that does not exist.