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.

(104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server

Discussion in 'Security' started by sahostking, Jul 18, 2013.

  1. sahostking

    sahostking Well-Known Member

    Joined:
    May 15, 2012
    Messages:
    299
    Likes Received:
    1
    Trophy Points:
    18
    Location:
    Cape Town, South Africa
    cPanel Access Level:
    Root Administrator
    Hi All,

    When loading a temporary URL I get the error below. This is a brand new account added through WHM and new install of wordpress. I tried to use the temporary url but when I do I get an error as per below.

    [Thu Jul 18 13:47:12 2013] [warn] [client #] (104)Connection reset by peer: mod_fcgid: error reading data from FastCGI server
    [Thu Jul 18 13:47:12 2013] [error] [client #] Premature end of script headers: index.php
    [Thu Jul 18 13:47:13 2013] [error] [client #] File does not exist: /home/user/public_html/sys_cpanel, referer: http://servername/~riact/

    However when I disable SuExec all seems to work perfectly. How can it have permission issues if it's a brand new site?

    Any ideas?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    UserDir requests will not function correctly when using Mod_FCGI. This is documented at:

    FCGI Considerations

    Disabling SuExec will allow the URL to load, but it reduces the overall security of FCGI.

    Thank you.
     
  3. roliboli

    roliboli Active Member

    Joined:
    Sep 3, 2003
    Messages:
    37
    Likes Received:
    0
    Trophy Points:
    6
    Location:
    Switzerland
    Hi

    Is there any possibility to get mod_userdir working with SuExec enabled?

    The goal is to access the website before connecting the domain.

    Thanks
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    653
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    The easier approach would be to modify the hosts file on your home computer so it directs the domain name to the new IP address. This will allow you to browse the domain name directly in your browser before updating the name servers.

    Thank you.
     
Loading...

Share This Page