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

Creation of the world.

This commit is contained in:
Shikiryu
2010-12-23 11:26:25 +00:00
commit 0cb5bac454
12 changed files with 922 additions and 0 deletions

11
.htaccess Normal file
View File

@@ -0,0 +1,11 @@
Options +FollowSymlinks
RewriteEngine On
RewriteBase /r
RewriteCond %{REQUEST_FILENAME} !index.php$
RewriteCond %{REQUEST_FILENAME} !short.php$
RewriteCond %{REQUEST_FILENAME} !404.html$
RewriteCond %{REQUEST_FILENAME} !asecretpassage.php$
RewriteCond %{REQUEST_FILENAME} !redir.php(.*)$
RewriteCond %{REQUEST_FILENAME} !/$
RewriteRule ^(.*)$ redir.php?name=$1 [L,R]