Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Registered User
    Join Date
    Apr 2010
    Posts
    3

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

    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!
    Last edited by fruitwerks; 04-19-2010 at 10:33 PM. Reason: syntax

  2. #2
    Registered User
    Join Date
    Apr 2010
    Posts
    3

    Default

    my issue is semi resolved, but now I have different hurdles to bound. Starting a new post

Similar Threads & Tags
Similar threads

  1. Replies: 1
    Last Post: 07-11-2011, 06:54 PM
  2. Edit Apache directives for a virtual host
    By milindras in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 02-10-2011, 11:24 AM
  3. Apache distiller ErrorLog directives
    By grindlay in forum cPanel and WHM Discussions
    Replies: 1
    Last Post: 01-16-2008, 04:00 PM
  4. Override php.ini directives
    By mehrdad abed in forum New User Questions
    Replies: 3
    Last Post: 06-03-2007, 09:06 AM
  5. /usr/local/apache/proxy ?
    By Curto in forum cPanel and WHM Discussions
    Replies: 4
    Last Post: 06-22-2004, 12:41 PM
Tags for this Thread
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube