Add .htaccess

pull/9/head
Toby Zerner 2015-08-13 13:08:22 +09:30
parent 25e365cb99
commit f60c9d92ce
1 changed files with 10 additions and 0 deletions

10
.htaccess Normal file
View File

@ -0,0 +1,10 @@
<IfModule mod_rewrite.c>
RewriteEngine on
RewriteRule ^api(.*)$ api.php [QSA,L]
RewriteRule ^admin(.*)$ admin.php [QSA,L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ index.php [QSA,L]
</IfModule>