ok
Direktori : /var/softaculous/tastyigniter/ |
Current File : //var/softaculous/tastyigniter/.htaccess |
<IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews -Indexes </IfModule> ## You may need to uncomment the following line for some hosting environments, ## to use URL Alias you need to be running apache with mod_rewrite enabled. ## # Options +FollowSymlinks ## Turn on URL rewriting ## RewriteEngine On ## !IMPORTANT! You may need to uncomment the following line for some hosting environments, ## If your installation resides in a subdirectory, enter the name here also ## RewriteBase [[_relativeurl]] # Handle Authorization Header RewriteCond %{HTTP:Authorization} . RewriteRule .* - [E=HTTP_AUTHORIZATION:%{HTTP:Authorization}] ## Redirect index.php from url to prevent duplicate urls ## RewriteCond %{THE_REQUEST} /index\.php [NC] RewriteRule ^(.*?)index\.php[^/] /$1? [L,R=301,NC,NE] RewriteCond %{THE_REQUEST} /index\.php [NC] RewriteRule ^(.*?)index\.php(?:/(.*))?$ /$1$2? [L,R=301,NC,NE] ## Redirect Trailing Slashes If Not A Folder... ## RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_URI} (.+)/$ RewriteRule ^ %1 [L,R=301] ## Block all PHP files, except index ## RewriteCond %{REQUEST_FILENAME} -f RewriteCond %{REQUEST_FILENAME} \.php$ RewriteRule !^index.php index.php [L,NC] ## Blacklisted folders ## RewriteRule ^assets/downloads/(.*) not_found [L] # Handle Front Controller... ## RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule ^ index.php [L,QSA] </IfModule>