Connecting Tech Pros Worldwide Forums | Help | Site Map

Stop PHP for Virtual Host block

Angelo Fraietta
Guest
 
Posts: n/a
#1: Mar 6 '06

Is there a way that I can block PHP parsing on my apache website in the
virtual host block?
I want to enable a site to host without php, but I want my own to have
access to php>

--
Angelo Fraietta
http://www.smartcontroller.com.au/~angelo/


d
Guest
 
Posts: n/a
#2: Mar 6 '06

re: Stop PHP for Virtual Host block


"Angelo Fraietta" <angelo_f@bigpond.com> wrote in message
news:120niemrmu3e5@corp.supernews.com...[color=blue]
>
> Is there a way that I can block PHP parsing on my apache website in the
> virtual host block?
> I want to enable a site to host without php, but I want my own to have
> access to php>
>
> --
> Angelo Fraietta
> http://www.smartcontroller.com.au/~angelo/[/color]

It's pretty easy :)

Make yourself a virtualhost for your webserver, and in your virtualhost put
your PHP addtype line. The other virtualhost will not have PHP support, but
yours will.

dave


Angelo Fraietta
Guest
 
Posts: n/a
#3: Mar 6 '06

re: Stop PHP for Virtual Host block




d wrote:[color=blue]
> "Angelo Fraietta" <angelo_f@bigpond.com> wrote in message
> news:120niemrmu3e5@corp.supernews.com...
>[color=green]
>>Is there a way that I can block PHP parsing on my apache website in the
>>virtual host block?
>>I want to enable a site to host without php, but I want my own to have
>>access to php>[/color][/color]
[color=blue]
> It's pretty easy :)
>
> Make yourself a virtualhost for your webserver, and in your virtualhost put
> your PHP addtype line. The other virtualhost will not have PHP support, but
> yours will.
>[/color]
My one already has php support - they all do right now. So I should
disable PHP support on all and then just enable it in the virtual host
block? I am not sure I know how to do that.
[color=blue]
> dave
>
>[/color]

--
Angelo Fraietta
http://www.smartcontroller.com.au/~angelo/

Closed Thread