Hi folks.
Noticing something I’ve never experienced before.
Working on a site on MAMP at the moment. Nothing out of the ordinary. Uses Structure module and relatively standard .htaccess file (below):
AcceptPathInfo On
Options -Indexes
<IfModule mod_rewrite.c>
RewriteEngine On
# Looks for files and directories that do not exist
# and provide the segments to the index.php file
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteCond $1 !^/index.php
RewriteCond $1 !.(css|js|png|jpe?g|gif|ico)$ [NC]
RewriteRule ^(.*)$ index.php/$1 [L]
</IfModule>On MAMP, everything behaves as one would expect. However, when I move onto my test server, no matter what link is clicked, you always get the homepage.
Now, with some Twitter help, dpdexter pointed me in the direction of altering config.php, specifically
$config['uri_protocol'] = "AUTO";To get the site working in test, I had to change from AUTO to REQUEST_URI - that solved navigation issue but what it did in addition was break the like of member logout etc.
Hopefully someone can help.