Skip to main content

Preview site using ip/~user not working

Comments

7 comments

  • Infopro
    Have you enabled the option? WHM " Security Center " Apache mod_userdir Tweak
    0
  • ASTRAPI
    Yes i enable it but i can't test it as it seems that i have a rebuild problem as i can see from the error and i am just use the basic cpanel template:
    File does not exist: /usr/local/apache/htdocs/~userx
    The problem seems to be with the Apache httpd.conf i think :(
    0
  • Solokron
    Sounds like you are using ruid2 which does not work with this. The work around is to provide them with a dedicated IP.
    0
  • ASTRAPI
    On the new rebuild Ruid2 is not selected and i just get the rebuild done without errors. I was select to get a new config for Apache and it seems ok ... Is suphp and suexec related to my problem? [COLOR="silver">- - - Updated - - - Not working again i can't preview a simple html :( Now i test it with: Default PHP Version (.php files) 5 PHP 5 Handler fcgi Apache suEXEC off Apache Ruid2 off But nothing :(
    0
  • ASTRAPI
    Ok i got it working for the index.html :) But when i try to load a simple hello word php script is not running and i am getting this:
    Service Temporarily Unavailable The server is temporarily unable to service your request due to maintenance downtime or capacity problems. Please try again later. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.
    I also try to enable the Apache suEXEC on but nothing :(
    0
  • ASTRAPI
    Ok i found this that maybe is my solution but is for suphp only and i am using fcgi :(
    http://forums.cpanel.net/f5/php-not-working-site-preview-70719.html
    0
  • cPanelMichael
    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.
    0

Please sign in to leave a comment.