On Fri Mar 03 2000 at 19:27, Vesselin Mladenov wrote:
> I have a pretty strange problem with a webserver configuration and
> instalation.
> I'm trying to install apache web server with php support.
[ ... ]
> I successfully start apache with:
> /usr/local/httpd/bin/httpd -D DAV PHP
>
> But the server doesn't parse php, instead of that I can downlad php
> scripts.
> Can some one tell me what I miss.
> Thanks in advance
>
> P.S. I have compiled php as build in module, but not DSO the effect is
> the same.
It's not the compile that's the problem, not at all. You didn't tell the
server when to parse your files as php.
$ tail -f /var/log/httpd/*log &
$ cat >> /etc/httpd/conf/httpd.conf
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3-source .phps
^D
$ killall -HUP httpd
We also do this too:
AddType application/x-httpd-php3 .phtml
And specify:
DirectoryIndex index.php3
Cheers
Tony
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-
Tony Nugent <[EMAIL PROTECTED]> Systems Administrator
GrowZone OnLine (a project of) GrowZone Development Network
POBox 475 Toowoomba Oueensland Australia 4350 Ph: 07 4637 8322
-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-