1
0
mirror of https://github.com/Chouchen/shorturl.git synced 2018-06-07 06:34:38 +02:00
shorturl/.htaccess

13 lines
437 B
ApacheConf
Raw Normal View History

2010-12-23 12:26:25 +01:00
Options +FollowSymlinks
RewriteEngine On
2011-01-04 12:32:00 +01:00
RewriteBase /
2010-12-23 12:26:25 +01:00
RewriteCond %{REQUEST_FILENAME} !index.php$
2011-01-04 12:32:00 +01:00
RewriteCond %{REQUEST_FILENAME} !add.php(.*)$
2010-12-23 12:26:25 +01:00
RewriteCond %{REQUEST_FILENAME} !short.php$
RewriteCond %{REQUEST_FILENAME} !404.html$
2011-01-04 12:32:00 +01:00
RewriteCond %{REQUEST_FILENAME} !asecretpassagereallysecret.php$
2010-12-23 12:26:25 +01:00
RewriteCond %{REQUEST_FILENAME} !redir.php(.*)$
RewriteCond %{REQUEST_FILENAME} !/$
RewriteRule ^(.*)$ redir.php?name=$1 [L,R]