Login incorrectly redirects to root directory
This is an open discussion with 6 replies, filed under Troubleshooting.
Search
Did you double-check the path used when you installed? That might be where it went wrong…
Where do I check that?
Well at this point just check that the RewriteBase in your .htaccess file is correct.
Yessir it is
I have the same problem… checked the .htaccess file… no luck
Symphony 2.0.x
Options +FollowSymlinks -Indexes
RewriteEngine on RewriteBase /sy/ ### 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 [L,NC] ### CHECK FOR TRAILING SLASH - Will ignore files RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_URI} !/$ RewriteCond %{REQUEST_URI} !(.*)/$ RewriteRule ^(.*)$ $1/ [L,R=301] ### 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]
#
Do you have an .htaccess file in the root dir? If so this may conflict with the Symphony one.
Also, what is the http doc-root for your setup?
Create an account or sign in to comment.
I’m installed here: /root/sym/
I login here: /root/sym/symphony/
After success, I get redirected here: /root/symphony/
I can manually adjust the location, and it works. Just want to make sure it isn’t a bug.
Oh btw. Hi symphony! I’m new here!
Luke