Try this:

RewriteEngine On
Options +FollowSymlinks
RewriteBase /
RewriteCond %{HTTP_HOST} whatever.yoursite.com
RewriteCond %{REQUEST_URI} !path/to/desination/folder/
RewriteRule ^(.*)$ path/to/destination/folder/$1 [L]

That should do it.

--
Uchendu Nwachukwu
newsreply AT unndunn DOT com - www.unndunn.com


"Adrian Murphy" <[EMAIL PROTECTED]> wrote in message
004b01c1e486$3c0cb1a0$02646464@ade">news:004b01c1e486$3c0cb1a0$02646464@ade...
Hi,
I use wildcard dns to point all requests at the root e.g
whatever.mysite.com goes to root etc.however i'll like to redirect these
requests to mysite.com/users/sites/whatever
so what do i put in the .htacces file bearing in mind that i want requests
just for mysite.com to be left alone.
thanx
adrian




-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to