I'm running Code Igniter and my .htaccess was:
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php?$1 [L]
RedirectMatch 404 /\\.svn(/.*|$)
</IfModule>
Then I realized that no $_GET variable was getting through.
I followed some instructions to create the .htaccess to use together with Code Igniter, and replaced the index.php?$1 with index.php/$1. This works on a linux machine, but on the Windows it doesn't. I'm sure it is a server configuration, but I don't know which one.
Assuming that I access
http://localhost/directory/this_is_query/string_parameters?with_some=additional_ones
The $_SERVER['QUERY_STRING'] value with index.php?$1 on .htaccess is:
string(31) "this_is_query/string_parameters"
And with index.php/$1:
No input file specified.
On the Linux machine I have:
string(31) "with_some=additional_ones"
As response with index.php/$1.
Any thoughts?
I'm debugging the $_SERVER['QUERY_STRING'] variable on the FIRST line of index.php, with NO interaction with Code Igniter whatsoever.
Yes, I do have mod_rewrite.
THIS IS NOT THE SAME AS Codeigniter no input file specified error
I saw that question before asking this one. And I'm still with the issue.
I've added new information.