rwaldron/testswarm/master/.htaccess
<Files ~ ".ini$">
Order allow,deny
Deny from all
</Files>
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^.*$ - [S=51]
RewriteRule (.*[^/])$ $1/ [R=301,QSA]
RewriteRule ^run/$ index.php?state=run [QSA,L]
RewriteRule ^run/(.*)/?$ index.php?state=run&user=$1 [QSA,L]
RewriteRule ^login/$ index.php?state=login [QSA,L]
RewriteRule ^logout/$ index.php?state=logout [QSA,L]
RewriteRule ^signup/$ index.php?state=signup [QSA,L]
RewriteRule ^scores/$ index.php?state=scores [QSA,L]
RewriteRule ^user/(.*)/?$ index.php?state=tinder&user=$1 [QSA,L]
RewriteRule ^job/(.*)/?$ index.php?state=jobstatus&job_id=$1 [QSA,L]
On Github License
Files
Download PDF of Htaccess file