mirror of
https://github.com/Chouchen/shorturl.git
synced 2018-06-07 06:34:38 +02:00
htaccess much shorter and easy to handle
This commit is contained in:
parent
ca6589b62c
commit
15d059cb17
@ -3,11 +3,6 @@ Options +FollowSymlinks
|
||||
RewriteEngine On
|
||||
|
||||
RewriteBase /
|
||||
RewriteCond %{REQUEST_FILENAME} !index.php$
|
||||
RewriteCond %{REQUEST_FILENAME} !add.php(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !short.php$
|
||||
RewriteCond %{REQUEST_FILENAME} !404.html$
|
||||
RewriteCond %{REQUEST_FILENAME} !asecretpassagereallysecret.php$
|
||||
RewriteCond %{REQUEST_FILENAME} !redir.php(.*)$
|
||||
RewriteCond %{REQUEST_FILENAME} !/$
|
||||
RewriteCond %{REQUEST_FILENAME} !-f
|
||||
RewriteCond %{REQUEST_FILENAME} !-d
|
||||
RewriteRule ^(.*)$ redir.php?name=$1 [L,R]
|
Loading…
Reference in New Issue
Block a user