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
Files
![QUERY_STRING, REQUEST_FILENAME](https://www.askapache.com/s/u.askapache.com/htaccess-file/2016/github/chatelao/php-addressbook-config-mod_rewritesample-htaccess.png)