a couple questions about virtual hosts in Apache

Andrew Kelly akelly at corisweb.org
Tue Aug 14 08:30:58 UTC 2007


On Mon, 2007-08-13 at 11:00 -0500, Scott wrote:
> Hi Andrew,
>  
> No I didn't see one I will put one in to place.
>  
>  
> Does this conform to AddType correctly?
> AddType script/php .php
> 
>  
> Also where should this be placed in the VirtualHost directive?
> Scott


Hi Scott,

Tim has pretty much answered for me already, using his pointers you
should pretty much be on your way. 

One thought, though.... Do you even have PHP installed on your machine?
Forgive me if that appears to be at first glance a superfluous question,
but any packaged PHP install should already have taken care of altering
Apache configurations so that you can use it. 
If you installed from source, then you just forgot to feed the goods to
Apache, but if you installed an rpm package, or requested PHP at initial
install, none of this stuff should be missing.

So, maybe you haven't yet gotten php onboard?

Andy 

> 




More information about the users mailing list