The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Where and how? Apache directives and priorities (proxy / php)

Discussion in 'EasyApache' started by fruitwerks, Apr 19, 2010.

  1. fruitwerks

    fruitwerks Registered

    Joined:
    Apr 19, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    I currently have another instance of httpd running on the cpanel host in a chroot environment. This chroot is capable delivering the applications we need. I have done this so we only have to make minimal changes to the base install. And when the day come to move these to a dedicated server, it will be very easy.

    I am a fairly experienced administrator and cPanel is too intertwined with itself to properly develop on the main host install. I would like to do two things.

    1 - globally alias a cgi-bin script to the chroot httpd - all cpanel accounts will be able to access this app transparently.

    2 - Process any php not related to cPanel on the chroot httpd - once again with transparency. This should be easy since the directives that allow client access to cpanel are simply aliased.

    I know the cgi-bin is easily done with the ScriptAlias directive. But no matter where I put it, it appears to be ignored! I have never had to deal with such an issue relating to the php processing though. I was told it is done easily, possibly so easy I am overlooking the simpler ways to do it. I have searched for quite a while and have not found a concrete example or even the principal behind this. The closest thing I stumbled upon was regarding load balancing, but that did not explain much either.

    Probably not very important, but if you must know;
    Host is CentOS 5.4 (apache2.0 / php5 ) cPanel 11.25.0-R44718 - WHM 11.25.0 - X 3.9
    chroot is Debian Lenny ( apache 2.2 / php5 )

    You assistance is appreciated in these matters.

    Thanks!
     
    #1 fruitwerks, Apr 19, 2010
    Last edited: Apr 19, 2010
  2. fruitwerks

    fruitwerks Registered

    Joined:
    Apr 19, 2010
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    my issue is semi resolved, but now I have different hurdles to bound. Starting a new post
     
Loading...

Share This Page