Re: [EMAIL PROTECTED] [RESOLVED] Regular Expression Question

2005-07-28 Thread Chase
i mean, looking at the script, which i yanked from an online tutorial, it's obvious where the problem is: http://www.foo.com"; ); ?> i just need to figure out how in php to get it to respect the entire original file path. it probably won't be too hard. if i get stuck, i'll post on a php

Re: [EMAIL PROTECTED] [RESOLVED] Regular Expression Question

2005-07-27 Thread Dan Mahoney, System Admin
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

Re: [EMAIL PROTECTED] [RESOLVED] Regular Expression Question

2005-07-27 Thread Chase
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 off it's not perfect. for instance, if someone requests http:// www.foo.net/cgi-bin/something_el