http://www.yourdomain.com/Pages/Project/z124
I have added the following to my .htaccess file.
Code
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$
RewriteCond %{REQUEST_URI} !^/Pages/Project/z124
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /Pages/Project/z124/
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$
RewriteRule ^(/)?$ /Pages/Project/z124/index.php [L]
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$
RewriteCond %{REQUEST_URI} !^/Pages/Project/z124
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /Pages/Project/z124/
RewriteCond %{HTTP_HOST} ^(www.)?yourdomain.com$
RewriteRule ^(/)?$ /Pages/Project/z124/index.php [L]
and it loads the home page just right when I go to http://www.yourdomain.com
When I try to login it gives me the following error.
Sorry! Invalid authorisation key ('authkey'). This is probably either because you pressed the 'Back' button to return to a page which does not allow that, or else because the page's authorisation key expired due to prolonged inactivity. Please refresh the page and try again.
and in the address bar is the following.
http://www.yourdomain.com/Pages/Project/z124/index.php?module=users&func=loginscreen
and now I can login without error.
How can I solve the authkey problem and prevent the URL from changing?
Edited by maverick on Aug 31, 2010 - 06:38 AM.

