Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- AuthName "Restricted Area"
- AuthType Basic
- AuthUserFile /home/mysite/.htpasswd
- AuthGroupFile /dev/null
- require valid-user
- AddDefaultCharset utf-8
- Options +FollowSymLinks
- IndexIgnore */*
- RewriteEngine on
- # if a directory or a file exists, use it directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- # otherwise forward it to index.php
- RewriteRule . index.php
- php_value post_max_size 10M
- php_value upload_max_filesize 10M
- php_value max_execution_time 200
- php_value max_input_time 200
- AddDefaultCharset utf-8
- Options +FollowSymLinks
- IndexIgnore */*
- RewriteEngine on
- # if a directory or a file exists, use it directly
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- # otherwise forward it to index.php
- RewriteRule . index.php
- php_value post_max_size 10M
- php_value upload_max_filesize 10M
- php_value max_execution_time 200
- php_value max_input_time 200
- ### force www
- RewriteCond %{HTTP_HOST} ^www.(.+)$ [NC]
- RewriteRule ^(.*)$ http://%1/$1 [R=301,L]
- RewriteBase /
- deny from all
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement