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. */ -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php