Folks:

I'm having trouble configuring PHP and Apache to work the way I want them to on my 
Windows machine. 

The trouble: in some cases I want BOTH ssi and php to parse the same document, and 
this isn't happening. Documents with a ".php" suffix are parsed through php and 
".shtml" documents are processed with includes, but not the other way around. What am 
I doing wrong? I have a feeling it has something to do with the following lines in my 
httpd.conf file, because I'm not clear whether any of these lines cancel each other 
out or create conflicts. I've spent hours tinkering with these settings and consulting 
documentation but I can't get it to work:

        ScriptAlias /php/ "c:/php4/" 
        ScriptAlias /php4/ "c:/php4/" 
        AddType application/x-httpd-php .php4 .php .shtml
        AddType application/x-httpd-php-source .phps
        AddType text/html .shtml
        AddHandler server-parsed .shtml
        Action application/x-httpd-php "/php4/php.exe" 
        
(What I'm specifically trying to do in these lines: tell Apache to parse .php, .php4 
and .shtml documents through /php4/php.exe and through Apache's own ssi functions.)

I'm running Apache 1.3.14 and PHP 4.0 (cgi executable) on Win98 (2nd Edition). I'm 
trying to do this because: I want to have a development environment on my laptop that 
will allow me to work locally on PHP- and XSSI-powered sites that I host on a Unix 
server.


Please help! Thanks.

Sean Savage


_________________________________________________ 
Do you have a Real Cities Passport? 
Get your free  @cityname.com address from http://www.realcities.com

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to