httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Motty <>
Subject [users@httpd]mod_rewrite HTTP_COOKIE
Date Thu, 10 Dec 2015 02:45:00 GMT
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 ^

RewriteRule . /index.php [L]

View raw message