On Thu, 28 Jul 2005, Chase wrote:You could always create an errordocument CGI that returns a LOCATION header that sends them to foo.net :)
-Dan
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
-- "I'm sorry, that is bull$@%^, but they did not say 'Exsqueeze Me' A Long Time Ago in a Galaxy Far Far Away." -Richard Bozzello, on Jar Jar Binks --------Dan Mahoney-------- Techie, Sysadmin, WebGeek Gushi on efnet/undernet IRC ICQ: 13735144 AIM: LarpGM Site: http://www.gushi.org --------------------------- --------------------------------------------------------------------- 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