Stop PHP for Virtual Host block

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Angelo Fraietta

    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


  • d

    #2
    Re: Stop PHP for Virtual Host block

    "Angelo Fraietta" <angelo_f@bigpo nd.com> wrote in message
    news:120niemrmu 3e5@corp.supern ews.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


    Comment

    • Angelo Fraietta

      #3
      Re: Stop PHP for Virtual Host block



      d wrote:[color=blue]
      > "Angelo Fraietta" <angelo_f@bigpo nd.com> wrote in message
      > news:120niemrmu 3e5@corp.supern ews.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


      Comment

      Working...