got it working. here's what i did: in /.htaccess, i've got: RewriteEngine on RewriteRule ^(.*)$ http://www.foo.com/$1 [R=301,L] and in /cgi-bin/.htaccess, i've got: RewriteEngine offit's not perfect. for instance, if someone requests http:// www.foo.net/cgi-bin/something_else, it won't get redirected to foo.com, it'll just return a 404 (from foo.net) when it doesn't find the file on foo.net.
but for all other file requests, it'll work perfectly. cheers. - chase --------------------------------------------------------------------- The official User-To-User support forum of the Apache HTTP Server Project. See <URL:http://httpd.apache.org/userslist.html> for more info. To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx " from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx