Connecting Tech Pros Worldwide Help | Site Map

Stop PHP for Virtual Host block

 
LinkBack Thread Tools Search this Thread
  #1  
Old March 6th, 2006, 04:45 AM
Angelo Fraietta
Guest
 
Posts: n/a
Default Stop PHP for Virtual Host block


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/


  #2  
Old March 6th, 2006, 12:15 PM
d
Guest
 
Posts: n/a
Default 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


  #3  
Old March 6th, 2006, 08:35 PM
Angelo Fraietta
Guest
 
Posts: n/a
Default 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/

 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Popular Articles

What is Bytes?

We are a network of experts and professionals in IT and software development that help one another with answers to tough questions and share insights. Get the best answers to your questions from over 220,989 network members.