Forbidden admin or redirect loop
This is an open discussion with 6 replies, filed under Troubleshooting.
Search
Example of your .htaccess?
Thanks Brendo
here it is
### Symphony 2.3.x ### # Options +FollowSymlinks -Indexes AllowOverride All <IfModule mod_rewrite.c> RewriteEngine on RewriteBase / ### SECURITY - Protect crucial files RewriteRule ^manifest/(.*)$ - [F] RewriteRule ^workspace/(pages|utilities)/(.*).xsl$ - [F] RewriteRule ^(.*).sql$ - [F] RewriteRule (^|/). - [F] ### DO NOT APPLY RULES WHEN REQUESTING "favicon.ico" RewriteCond %{REQUEST_FILENAME} favicon.ico [NC] RewriteRule .* - [S=14] ### IMAGE RULES RewriteRule ^image/(.+.(jpg|gif|jpeg|png|bmp))$ extensions/jit_image_manipulation/lib/image.php?param=$1 [B,L,NC] ### CHECK FOR TRAILING SLASH - Will ignore files RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ $1/ [L,R=301] ### URL Correction RewriteRule ^(symphony/)?index.php(/.*/?) $1$2 [NC] ### ADMIN REWRITE RewriteRule ^symphony/?$ index.php?mode=administration&%{QUERY_STRING} [NC,L] RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^symphony(/(.*/?))?$ index.php?symphony-page=$1&mode=administration&%{QUERY_STRING} [NC,L] ### FRONTEND REWRITE - Will ignore files and folders RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^(.*/?)$ index.php?symphony-page=$1&%{QUERY_STRING} [L] </IfModule> ######
Solved the problem, I was using Opera Next as browser. Works fine in Firefox. :)
Try deleting Opera's cache.
Yes that worked finally Thanks David
Cool. I'm not sure exactly which types of responses are supposed to be cacheable by browsers, but I know at least some types of redirects are.
Create an account or sign in to comment.
Hello,
I cannot manage to access /symphony (403 forbidden)
If I disable +FollowSymLinks and -Indexes in .htaccess, I get a redirect loop. Still I have another website with the same provider, same .htaccess, and it works.
Symphony version is 2.3, php 5.4 (tried also with 5.3). Permissions aren't changed. Tried also AllowOverride All, but it returns 500 Error. The host btw doesn't allow Followsymlinks.
Thanks for any suggestion