Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # no indexing
- Options -Indexes +FollowSymLinks -MultiViews
- # hidden files
- <Files ~ "common.inc.php">
- Order Deny,Allow
- Deny from all
- </Files>
- <IfModule mod_rewrite.c>
- RewriteEngine On
- # Force HTTPS.
- # By deleting "#" on the next two rows.
- #RewriteCond %{HTTPS} !=on
- #RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
- # !IMPORTANT!
- # Set your RewriteBase here and don't forget trailing and leading slashes.
- # If your page resides at
- # http://www.example.com/app/php4dvd
- # then use
- # RewriteBase /app/php4dvd/
- RewriteBase /
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteRule ^ index.php [QSA,L]
- </IfModule>
- <IfModule !mod_rewrite.c>
- ErrorDocument 404 /index.php
- </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement