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.

Mod_ruid2 + Jailshell Infinite Redirect Loop

Discussion in 'Security' started by ApparentMedia, Sep 29, 2015.

  1. ApparentMedia

    ApparentMedia Registered

    Joined:
    Aug 4, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    Hey everyone,

    I attempted to enable install mod_ruid2 and enable Experimental jailshell on my servers. When I do so, all front ends with PHP scripts generate infinite redirects for all domains on the server.

    Is this a known issue? Is there a solution? This happens on multiple servers I run.

    As soon as I disable Experimental Jailshell and restart apache, everything works fine.

    Thanks!
     
  2. Jcats

    Jcats Well-Known Member

    Joined:
    May 25, 2011
    Messages:
    588
    Likes Received:
    88
    Trophy Points:
    153
    Location:
    New Jersey
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Are you running DSO or SuPHP?
     
  3. ApparentMedia

    ApparentMedia Registered

    Joined:
    Aug 4, 2015
    Messages:
    3
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Canada
    cPanel Access Level:
    Root Administrator
    We are running suphp with suexec set to on
     
  4. quizknows

    quizknows Well-Known Member

    Joined:
    Oct 20, 2009
    Messages:
    982
    Likes Received:
    75
    Trophy Points:
    78
    cPanel Access Level:
    DataCenter Provider
    With RUID2 I believe you want to change from SuPHP to DSO, because the parent apache process is switched user and thus PHP will already execute with the users ID (which is the point of SuPHP on a non-RUID2 system)
     
  5. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,064
    Likes Received:
    1,287
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Hello :)

    suPHP is not compatible with Mod_Ruid2. This is documented at:

    Mod_Ruid2

    Thank you.
     
Loading...

Share This Page