Thanks Phil =) Someone also sent me notes on using RewriteRule ![\.] /index.php$1 [L]
I'll probably end up using the RewriteRule, only because I wasn't thinking about including gifs and such. Thanks again for the quick response =) At 10:16 PM 5/2/2002 -0700, Philip Hallstrom wrote: >The following will make *every* request to this specific virtual host go >through /path-to/script.php. This include .gifs, etc... everything. > ><VirtualHost *:80> > ServerName myserver.mydomain.org > DocumentRoot /usr/local/www/myserver > Action php-parse /path-to/script.php > > Action php-parse /path-to/script.php > SetHandler php-parse > > <Location "/path-to/script.php"> > SetHandler "application/x-httpd-php" > </Location> ></VirtualHost> > > >On Thu, 2 May 2002, Ed Lazor wrote: > > > Is there a way to route every web page request through a specific script > > using PHP / Apache? > > > > I'm familiar with using ForceType to route all requests through /news/ to a > > script called news. Ie. > > > > <Location /news> > > ForceType application/x-httpd-php > > </Location> > > > > and creating a script called news with no file extension. > > > > Is it possible to do this at the domain level rather than requiring that a > > sub-folder be involved? As example, I'd go to http://www.example.com and > > my request would get processed by a script. I'd go to > > http://www.example.com/pizza/ and the request would get processed by the > > same script. > > > > Thanks, > > > > -Ed > > > > > > -- > > PHP General Mailing List (http://www.php.net/) > > To unsubscribe, visit: http://www.php.net/unsub.php > > > > > >-- >PHP General Mailing List (http://www.php.net/) >To unsubscribe, visit: http://www.php.net/unsub.php AtFantasy.com offers top quality in gaming and science fiction & fantasy fiction from professionally published authors. Read articles on gaming and writing, collected fiction, and reviews of the newest products to reach the market. Advertise your site in the RPG Banner Exchange http://www.atfantasy.com/banner_exchange.php Download over 715 collected RPG treasures at RPGCastle.com RPGIndex.com - Directory to gaming on the Internet. -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php