1
0
mirror of https://github.com/cydrobolt/polr.git synced 2024-11-10 12:12:29 +01:00
polr/.htaccess

13 lines
680 B
ApacheConf

<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /polr-rel/
RewriteRule ^api$ api.php [L]
RewriteRule ^api/$ api.php [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^([a-zA-Z0-9]+)/?$ r.php?u=$1 [L,QSA]
RewriteRule ^t-([a-zA-Z0-9]+)/?$ r.php?u=t-$1 [L,QSA]
RewriteRule ^/?\+([a-zA-Z0-9]+)$ stats.php?bv=$1 [L,QSA]
</IfModule>