October 12th, 2000, 04:36 PM
I've installed the apache server on my win98 system. Apache starts and doesn't report any errors. I can run php scripts using the http://myserver/cgi-bin/php.exe/<alias directory>/myphpscript.php URL. However, I want to run the scripts directly from the <alias directory> (http://myserver/<alias directory>/myphpscript.php). I can browse the <alias directory> but whenever I click on a .php file they browser wants to down load it.
My current setup has:
Action application/x-http-php "/php/php.exe"
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php-source .phps
ScriptAlias /php/ "D:/Php402/"
Alias /fake name/ "D:/real name/"
<Directory "D:/real name">
Options Indexes ExecCGI FollowSymLinks MultiViews
Allow from all
Does anyone know the httpd.conf configuration setup for this?
Sr. Software Engineer
1777 N.E. Loop 410
San Antonio, TX 78217