chatelao/php-addressbook/master/config/mod_rewrite.sample/.htaccess - Htaccess File

chatelao/php-addressbook/master/config/mod_rewrite.sample/.htaccess

Options +FollowSymlinks
RewriteEngine on
RewriteBase /

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^([^/]+)$ $1/ [R]

RewriteRule ^(all)/(.*)           addressbook/$2?%{QUERY_STRING}
RewriteRule ^(test)/(.*)          addressbook/$2?%{QUERY_STRING}&fixgroup&group=$1
RewriteRule ^(readonly-test)/(.*) addressbook/$2?%{QUERY_STRING}&fixgroup&readonly&group=test

On Github License

Files

Download PDF of Htaccess file
QUERY_STRING, REQUEST_FILENAME

Comments

Apache