Re: Re: run a script for any HTTP request (was: run a script on access to a directory)
| From: | Jason Bell | Date: | Fri, 07 Sep 2001 21:43:27 +0000 |
| Subject: | Re: Re: run a script for any HTTP request (was: run a script on access to a directory) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-66487@lists.php.net to get a copy of this message | ||
Explorer does support 404 documents. You just have to make sure the
document is bigger than 512 bytes.
----- Original Message -----
From: "Enrique Vadillo" <enrique_vadillo@hotmail.com>
To: <philip@adhesivemedia.com>
Cc: <php-general@lists.php.net>
Sent: Friday, September 07, 2001 2:36 PM
Subject: Re: [PHP] Re: run a script for any HTTP request (was: run a script
on access to a directory)
> MSIE does not support 404 ErrorDocument, that only works fine
> with Netscape. Rewriting URLs is nasty when you have to mix
> it with php script writing, this could be so much simpler with
> a php script.
>
> I know it's a tough question, anyone dares to beat the problem?
>
> Enrique-
>
> >From: Philip Hallstrom <philip@adhesivemedia.com>
> >To: Enrique Vadillo <enrique_vadillo@hotmail.com>
> >CC: <php-general@lists.php.net>
> >Subject: [PHP] Re: run a script for any HTTP request (was: run a script
on
> >access to a directory)
> >Date: Fri, 7 Sep 2001 14:15:52 -0700 (PDT)
> >
> >What's wrong with rewriting urls? The other alternative is to make sure
> >that none of the urls you are accessing actually exist and then setup an
> >ErrorDocument handler which calls the php script of your choice... which
> >can then do whatever you want...
> >
> >-philip
> >
> >On Fri, 7 Sep 2001, Enrique Vadillo wrote:
> >
> > > That was a fine idea Doug, but what if we push the subject and
> > > go a little further?
> > >
> > > I am thinking now that i'd like to make it possible that for
> > > ANY http request received by my Apache i'd like to have a php
> > > script executed first, i.e.:
> > >
> > > http://domain.com/
> > > http://domain.com/anydir/anyfile
> > >
> > > for any of those locations typed, i'd like to be able to
> > > execute the php script. i know it's kinda weird but this is
> > > what i'm really looking for. any ideas anyone?
> > >
> > > Enrique-
>
>
> _________________________________________________________________
> Descargue GRATUITAMENTE MSN Explorer en
> http://explorer.msn.es/intl.asp
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: php-general-unsubscribe@lists.php.net
> For additional commands, e-mail: php-general-help@lists.php.net
> To contact the list administrators, e-mail: php-list-admin@lists.php.net
>
>