Re: what do i put in .htaccesss to achieve this

From: Date: Tue, 16 Apr 2002 19:19:19 +0000
Subject: Re: what do i put in .htaccesss to achieve this
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-93242@lists.php.net to get a copy of this message
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" <adrian.murphy@2020tourism.com> wrote in message 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

« previous php.general (#93242) next »