Displaying 1 result from an estimated 1 matches for "new_rewrit".
Did you mean:
new_rewrite
2006 Jan 02
0
PHP Integration
...rules are generated for a protected directory''s .htaccess
file:
########### START #####################
Options +FollowSymLinks
RewriteEngine On
## allow access for product #5
RewriteCond %{HTTP_COOKIE} amember_nr=([a-zA-Z0-9]+)
RewriteCond /home/market5/public_html/members/data/new_rewrite/%1-5 -f
RewriteRule ^(.*)$ - [L]
## if user is not authorized, redirect to login page
RewriteRule ^(.*)$
http://www.mydomain.com/members/plugins/protect/new_rewrite/login.php?v=
%1-5&url=%{REQUEST_URI}?%{QUERY_STRING} [L,R]
########### FINISH ####################
I can utilize the above to...