Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 20th, 2011  |  syntax: None  |  size: 0.48 KB  |  views: 65  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
This paste has a previous version, view the difference. Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. #default index page
  2. DirectoryIndex index.php
  3.  
  4. RewriteEngine On
  5. RewriteBase /
  6.  
  7. RewriteCond %{HTTP_HOST} ^(*.)?divinit\.cc$
  8. RewriteCond %{REQUEST_URI} !^/joomla-1.5.20/
  9. RewriteCond %{REQUEST_FILENAME} !-f
  10. RewriteCond %{REQUEST_FILENAME} !-d
  11. RewriteCond ${REQUEST_URI} !-U
  12.  
  13. RewriteRule ^(.*)$ http://www.diviniti.cc/joomla-1.5.20/$1 [R=301,QSA,L]
  14.  
  15.  
  16. # Also redirect the root folder.
  17. RewriteCond %{HTTP_HOST} ^(*.)?diviniti\.cc$
  18. RewriteRule ^(/)?$ joomla-1.5.20/index.php [L]