note 14813 deleted from install.windows by irc-html
| From: | irc-html@php.net | Date: | Wed, 02 Jan 2002 04:41:18 +0000 |
| Subject: | note 14813 deleted from install.windows by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-24164@lists.php.net to get a copy of this message | ||
[
Editor's Note:
Be careful in putting in putting your whole php directory (including php.exe) in a script alias or
in another cgi-bin directory, because somebody can put something like http://www.yourserver.com/php4/php.exe/.htaccess
or any other file and view it, which can be bad. There is actually a CERT warning about doing
this!!!
alindeman@php.net
]
On a Win98 machine using Apache, the http.conf may give you problems, here's an example of what
information needs to be added:
ScriptAlias /php4/ "c:/progra~1/PHP4/"
AddType application/x-httpd-php4 .php
AddType application/x-httpd-php4 .phtml
Action application/x-httpd-php4 "/php4/php.exe/"