ly 28, 2005 2:59 AM
To: users@httpd.apache.org
Subject: [EMAIL PROTECTED] Regular Expression Question
what is the opposite/complement of:
/cgi-bin/mycgiscript$
as it is, this matches just this one file on my webserver.
what i want is for it to match... NOT that file. (to use a z
On Jul 28, 2005, at 1:43 AM, Chase wrote:
You could always create an errordocument CGI that returns a
LOCATION header that sends them to foo.net :)
actually, that was one of the first things i tried, but i couldn't
get it working.
let me make sure that i understand you:
do you mean t
You could always create an errordocument CGI that returns a
LOCATION header that sends them to foo.net :)
actually, that was one of the first things i tried, but i couldn't
get it working.
let me make sure that i understand you:
do you mean to create a 404 page that does the redirection?
how about this...
foo.net looks like:
/
/.htaccess
/cgi-bin/
/cgi-bin/mycgiscript
what if i put the regular 301 in the root folder's .htaccess:
Redirect 301 / http://www.foo.com/
... and then override it or turn it off somehow in an .htaccess file
in /cgi-bin/
is there
hmm... well those two expressions aren't doing what i'm wanting, but
that my be because i'm going about it wrong.
let me explain what i'm trying to do:
i've got a primary domain used for my website:
foo.com
then there is another domain which has no other files on it except a
single c
gt; Subject: RE: [EMAIL PROTECTED] Regular Expression Question
>
>
> (^(/cgi-bin/mycgiscript$))
>
>
> Thanx
> Aaron N Wagner
> Monitoring Systems and Network Tools
> CCO-Command Center Operations
> 804.515.6298
>
>
> > -Original Message-
> > F
Subject: [EMAIL PROTECTED] Regular Expression Question
>
> what is the opposite/complement of:
>
> /cgi-bin/mycgiscript$
>
>
> as it is, this matches just this one file on my webserver.
>
> what i want is for it to match... NOT that file. (
what is the opposite/complement of:
/cgi-bin/mycgiscript$
as it is, this matches just this one file on my webserver.
what i want is for it to match... NOT that file. (to use a
zoolanderism. :)
- Chase
-
The officia