Re: Help !!
| From: | Andy Hoffman | Date: | Tue, 19 Sep 2000 13:43:35 +0000 |
| Subject: | Re: Help !! | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-2736@lists.php.net to get a copy of this message | ||
dkkim wrote:
> Help !
>
> 3. edit c:\apache\conf\httpd.conf
> ScriptAlias /php/ "c:/apache/php/"
> AddType application/x-httpd-php .php
> AddType application/x-httpd-php .phtml
> Action application/x-httpd-php "c:/php/php.exe"
Actually, the problem looks to be in your ScriptAlias statement... If you've
installed php in c:\php, then your ScriptAlias statement needs to point to this
directory... not the directory where you want your scripts to reside....
ScriptAlias (as I understand it) is used inside your configuration scripts as a
"shortcut" to an existing directory. Also, it looks like you have your Action
and AddType statements reversed in order. Try this and see what happens...
ScriptAlias /php/ "c:/php/"
Action application/x-httpd-php "/php/php.exe"
AddType application/x-httpd-php .php .phtml
See if that makes a difference :)
--
Andy Hoffman
Web Developer
Bristol-Myers Squibb
email: andy.hoffman@bms.com