check this out - works like a charm
http://www.phpbuilder.com/columns/tim20000526.php3

Pop this in your root htaccess
<Files users> 
ForceType application/x-httpd-php3 
</Files>

Create file "users" (no extension)

In the users file explode() $REQUEST_URI or $PATH_INFO
to get your variables for the script.

olinux


--- Uchendu Nwachukwu <[EMAIL PROTECTED]> wrote:
> 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
> 


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

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

Reply via email to