ocavailhes/jennys-photo/master/.htaccess - Htaccess File

ocavailhes/jennys-photo/master/.htaccess

order allow,deny
allow from all
deny from 195.2.253.38
deny from 92.63.87.12

# BEGIN WordPress
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>

# END WordPress
Options All -Indexes

<FilesMatch "wp-login.php">
AuthType Basic
AuthName "Private access"
AuthUserFile "/srv/data/web/vhosts/www.jennys-photo.com/.htpasswd"
require valid-user
</FilesMatch>

On Github License

Files

Download PDF of Htaccess file
REQUEST_FILENAME

Comments

Apache