wha?

Using a single web hosting account to host multiple sites

wha?

Postby hunter » Thu Apr 13, 2006 7:26 pm

Code: Select all
Options +FollowSymLinks
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(.*)\.abzde\.com$
RewriteCond %{HTTP_HOST} !^www\.abzde\.com$
RewriteRule (.*) http://abzde.com/%1$1 [P]

this doesn't work, i get a 404 error,
when i remove the [P] it works, but ofcourse it goes to abzde.com/blah instead of going there, but looking like it stays on blah.abzde.com, whats wrong?
hunter
 
Posts: 1
Joined: Thu Apr 13, 2006 6:33 pm

Return to Domain Handling

Who is online

Users browsing this forum: No registered users and 16 guests

cron