ux-design/ng-app-seo/master/.htaccess - Htaccess File

ux-design/ng-app-seo/master/.htaccess

# basic compression
<IfModule mod_gzip.c>
mod_gzip_on Yes
mod_gzip_dechunk Yes
mod_gzip_item_include file .(html?|txt|css|js)$
mod_gzip_item_include mime ^text/.*
mod_gzip_item_include mime ^application/x-javascript.*
mod_gzip_item_exclude mime ^image/.*
mod_gzip_item_exclude rspheader ^Content-Encoding:.*gzip.*
</IfModule>
# Protect files and directories
<FilesMatch "(.(engine|inc|info|install|module|profile|po|sh|.*sql|theme|tpl(.php)? |xtmpl)|code-style.pl|Entries.*|Repository|Root|Tag|Template)$">
Order allow,deny
</FilesMatch>
# Don’t show directory listings
 Options -Indexes
# Basic rewrite rules, stop unneeded PERL bot, block subversion directories
<IfModule mod_rewrite.c>
RewriteEngine On

# RewriteRule ^(.*/)?.svn/ - [F,L]
# ErrorDocument 403 "Access Forbidden"
# ErrorDocument 404 "pagina non trovata"
# RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
# RewriteRule .* – [F,L]

RewriteRule ^projects/ng-app-seo/servizi$ projects/ng-app-seo/#/servizi
</IfModule>

On Github License

Files

Download PDF of Htaccess file
HTTP_USER_AGENT

Comments

Apache