Re: htaccess / php

From: Date: Tue, 02 Dec 2003 06:56:03 +0000
Subject: Re: htaccess / php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-171546@lists.php.net to get a copy of this message
On Tuesday 02 December 2003 14:34, Ed Lazor wrote: > What do I put in .htaccess for Apache to process a named "archive" as a PHP > file? > > I did it before and can't seem to find what I did. Requests to > http://myhost.com/archive/page1.php would get processed by the > file named > archive and page1.php would just be a parameter that I could access from > within the script by checking the url and subtracting > "http://myhost.com/archive/". <Location /archive> ForceType application/x-httpd-php </Location> -- Jason Wong -> Gremlins Associates -> www.gremlins.biz Open Source Software Systems Integrators * Web Design & Hosting * Internet & Intranet Applications Development * ------------------------------------------ Search the list archives before you post http://marc.theaimsgroup.com/?l=php-general ------------------------------------------ /* Win98 is called Win98 because it is 98% slower than Linux. */

« previous php.general (#171546) next »