Htaccess File

duatis/karibu/master/.htaccess

HTTP_HOST, REQUEST_FILENAME
SetEnv host localhost
SetEnv user root
SetEnv pwd 
SetEnv database karibu

Options +FollowSymLinks
RewriteEngine On
RewriteRule ^$ /index.html
RewriteRule ^admin/?$ /admin/index.html
RewriteCond %{HTTP_HOST} karibu.local$ [NC]
RewriteCond %{REQUEST_FILENAME} !(.*).html [NC]
RewriteCond %{REQUEST_FILENAME} !(.*).css [NC] 
RewriteCond %{REQUEST_FILENAME} !(.*).js [NC]  
RewriteCond %{REQUEST_FILENAME} !(.*).eot [NC] 
RewriteCond %{REQUEST_FILENAME} !(.*).ttf [NC] 
RewriteCond %{REQUEST_FILENAME} !(.*).woff [NC] 
RewriteRule ^(.*)$ server/index.php
Exit mobile version