Re: ForceType equivalent for cgi php

From: Date: Mon, 31 Jul 2000 15:14:04 +0000
Subject: Re: ForceType equivalent for cgi php
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-9173@lists.php.net to get a copy of this message
> I need to have some urls follow this form : > http://site/script/param1/param2/fakescript.php3.en > (given by access to mySQL, but in future could be written > to disk as real files) > > But php is in cgi, so the traditional trick with > ForceType apllication/x-httpd-php3 doesn't work. > > I am not allowed to use Rewrite engine. > (but I can install cgi in site/cgi-bin dir) > What can I do ? Hrm. How about copying the PHP executable to /script and doing a ForceType cgi-bin on /script. -Rasmus

« previous php.general (#9173) next »