Re: Apache Directives

From: Date: Thu, 09 Aug 2001 12:18:40 +0000
Subject: Re: Apache Directives
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-61982@lists.php.net to get a copy of this message
On Wednesday 08 August 2001 00:00, Sean Cook wrote: > I am trying to figure out a way to run an application such that > regardless of the url I achieve the same results. This is similar to > the way apache/mod_perl works ... example > > <Location /login/> > SetHandler perl-script > PerlHandler somehandler::foo > </Location> > > now anything that access /login/salkdfjaslkjf gets redirected executed > through somehandler::foo <Location /login> ForceType application/x-httpd-php </Location> Now /login* URLs execute the PHP script "/login", which gets the complete URI as $REQUEST_URI -- Christian Reiniger LGDC Webmaster (http://lgdc.sunsite.dk/) "World domination. Fast." (Linus Torvalds about Linux)

« previous php.general (#61982) next »