Esempi elaborati con l’utility online descritta qui:
http://pc-notes.11byte.com/linux/apache/htaccess/htaccess-editor/
1) Esempio > http://www.mionome.com
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
RewriteCond % ^(mionome\.com)(:80)? [NC]
RewriteRule ^(.*) http://www.mionome.com/$1 [R=301,L]
order deny,allow
2) Esempio > http://mionome.com
<Files ~ "^.(htaccess|htpasswd)$">
deny from all
</Files>
RewriteEngine on
...
Leggi il seguito »


