help mod_write
Hello All, I need to authenticate users before allow to view website.
using Apache2.4 if users don't have web_route they will be redirected.
The condition & rule works but then Joomla URL don't work. Can someone
please help?
<Directory "/home/joomla">
Options Indexes FollowSymLinks
Options ALL -Indexes
IndexIgnore *
AllowOverride None
Order allow,deny
Allow from all
RewriteEngine On
RewriteBase /
RewriteCond %{HTTP_COOKIE} !^.*web_routes.*$ [NC]
RewriteRule ^
https://aps.mydomain.com/Account/LogOn?ReturnUrl=http://portal.mydomain.net/
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]