tahivan/php_prj/master/.htaccess - Htaccess File

tahivan/php_prj/master/.htaccess

##################################################################################
#nukeviet_rewrite_start //Please do not change the contents of the following lines
##################################################################################

#Options +FollowSymLinks

<IfModule mod_rewrite.c>
RewriteEngine On
#RewriteBase /demo/dulich/
RewriteCond %{REQUEST_FILENAME} /robots.txt$ [NC]
RewriteRule ^ robots.php?action=%{HTTP_HOST} [L]
RewriteRule ^(.*?)Sitemap.xml$ index.php?nv=SitemapIndex [L]
RewriteRule ^(.*?)Sitemap-([a-z]{2}).xml$ index.php?language=$2&nv=SitemapIndex [L]
RewriteRule ^(.*?)Sitemap-([a-z]{2}).([a-zA-Z0-9-]+).xml$ index.php?language=$2&nv=$3&op=Sitemap [L]
RewriteRule ^((?!http(s?)|ftp://).*).(css|js)$ CJzip.php?file=$1.$3 [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule (.*)(/|.html)$ index.php
</IfModule>

#nukeviet_rewrite_end
##################################################################################

On Github License

Files

Download PDF of Htaccess file
HTTP_HOST, REQUEST_FILENAME

Comments

Apache