Browse Source

htaccess much shorter and easy to handle

master
Shikiryu 10 years ago
parent
commit
15d059cb17
  1. 11
      .htaccess

11
.htaccess

@ -1,13 +1,8 @@
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…
Cancel
Save