Advertisement
Guest User

Untitled

a guest
Jul 22nd, 2014
184
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.71 KB | None | 0 0
  1. RewriteEngine on
  2. DirectoryIndex Portal.html
  3.  
  4. RewriteEngine On
  5. RewriteCond %{HTTP_HOST} ^mscaspian.com$
  6. RewriteRule (.*) http://www.mscaspian.com/$1 [R=301,L]
  7.  
  8. RewriteCond %{HTTP_REFERER} !^http://mscaspian.com/.*$ [NC]
  9. RewriteCond %{HTTP_REFERER} !^http://mscaspian.com$ [NC]
  10. RewriteCond %{HTTP_REFERER} !^http://www.mscaspian.com/.*$ [NC]
  11. RewriteCond %{HTTP_REFERER} !^http://www.mscaspian.com$ [NC]
  12. RewriteRule .*.(jpg|jpeg|gif|png|bmp)$ http://www.mscaspian.com [R,NC]
  13.  
  14. ErrorDocument 404 /404.html
  15.  
  16. <IfModule mod_rewrite.c>
  17. RewriteEngine On
  18. RewriteBase /fa/
  19. RewriteRule ^index.php$ - [L]
  20. RewriteCond %{REQUEST_FILENAME} !-f
  21. RewriteCond %{REQUEST_FILENAME} !-d
  22. RewriteRule . /fa/index.php [L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement