Fresh Joomla 3.4.1 install,
Install with the blog example: "Blog English (GB) exampledata"
Add new user with test, test
Use URL Rewriting = Yes
Rename htaccess.txt to .htaccess
Publish module "Login Form", Login Redirection Page = "About", Logout Redirection Page = "Home"
Go to homepage, for example http://www.projecten.eu
Login with test, test
After login you are redirected to http://www.projecten.eu/?id=1
While you should be redirected to http://www.projecten.eu/about
When loging in, Redirect to http://www.projecten.eu/about
When loging out, Redirect to http://www.projecten.eu/
Login: Redirect to http://www.projecten.eu/?id=1
Logout: Reditrecto to http://www.projecten.eu/about/9-blog?layout=blog
J.3.4.1
OS Linux
PHP 5.4.39
MySQL 5.5.41
Caching Disabled
GZip Disabled
htaccess:
IndexIgnore *
Options +FollowSymlinks
Options -Indexes
RewriteEngine On
RewriteCond %{QUERY_STRING} base64_encode[^(]([^)]) [OR]
RewriteCond %{QUERY_STRING} (<|%3C)([^s]s)+cript.(>|%3E) [NC,OR]
RewriteCond %{QUERY_STRING} GLOBALS(=|[|\%[0-9A-Z]{0,2}) [OR]
RewriteCond %{QUERY_STRING} _REQUEST(=|[|\%[0-9A-Z]{0,2})
RewriteRule .* index.php [F]
RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}]
RewriteCond %{REQUEST_URI} !^/index.php
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule .* index.php [L]
This seems to me since 3.4.0: on other websites i noticed after migration to 3.4.1 that the page urls after login were non rewritten by the login module. While before they were redirected to the rewritten url.
Go to page http://www.projecten.eu/about
Login with test, test
No error now, just the about page as expected.
From the (non-rewritten) logout page http://www.projecten.eu/about/9-blog?layout=blog
Login with test, test, then the redirect is ok again, but stays non-rewritten
http://www.projecten.eu/component/content/article?id=1
Is the htaccess rewrite code ok ? It seems to do its work only partially from the login module (stripping the "component/content/article" part).
Labels |
Removed:
?
|
Yes will do.
Tested in staging, and its solved.
Great to see things solved before they are even reported ;)
I guess this can be closed
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2015-04-13 10:03:33 |
Labels |
Added:
?
|
Can you test with staging as quite a few patches were done post 3.4.1 ?