View Single Post
Old 07-12-2007, 09:39 PM   #1 (permalink)
Nova
Platinum Lifetime Member
 
Last Online: 08-04-2008 10:30 PM
iTrader: (2)
Join Date: Dec 2003
Posts: 1,349
DNF$: 2,925
Country:


Question .htaccess - code for domain masking?

I'd like to be able to implement domain forwarding masking from within the .htaccess file. Is there any code I can add that would accomplish this? Thanks. This is what is already in the file:

Code:
RewriteEngine on

IndexIgnore .htaccess */.??* *~ *# */HEADER* */README* */_vti*

<Limit GET POST>
order deny,allow
deny from all
allow from all
</Limit>
<Limit PUT DELETE>
order deny,allow
deny from all
</Limit>
AuthName www.example.com

RewriteCond %{HTTP_HOST} ^.*$
RewriteRule ^/?$ http://www.example2.com/?criterion=example.com [R=301,L]
__________________
Nova is offline   Reply With Quote
Sponsored Links