Tony Nugent wrote:

> 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
>  -=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-=*#*=-

I wish the problem was in this, bu here is another part of my httpd.conf:

AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml

DirectoryIndex index.phtml index.html index.htm index.php3

The problem still stands.

begin:vcard 
n:Mladenov;Vesselin
tel;cell:+359 88 217165
tel;work:+359 2 9744260
x-mozilla-html:FALSE
url:http://www.netbg.com
org:NetBG Communications ltd.
adr:;;4 Andrei Liapchev blvd.	;Sofia;;1756;Bulgaria
version:2.1
email;internet:[EMAIL PROTECTED]
title:System Administrator
x-mozilla-cpt:;-23520
fn:Vesselin Mladenov
end:vcard

Reply via email to