Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ErrorDocument 404 /404.php
- Options +MultiViews
- RewriteEngine On
- RewriteCond %{REQUEST_FILENAME} !-d
- RewriteCond %{REQUEST_FILENAME} !-f
- RewriteRule ^([^\.]+)$ $1.php [NC,L]
- # WWW to not WWW.
- RewriteCond %{HTTP_HOST} ^www\.rasolutions\.eu$
- RewriteRule ^/?$ "http\:\/\/rasolutions\.eu\/" [R=301,L]
- # No PERL access/
- RewriteCond %{HTTP_USER_AGENT} libwww-perl.*
- RewriteRule .* – [F,L]
- RewriteRule ^blog/([0-9]+)?$ blog.php?page=$1 [NC,L]
- RewriteRule ^blogitem/([0-9]+)?$ blogitem.php?id=$1 [NC,L]
- # Home redirect.
- DirectoryIndex home.php
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement