Mod Ruid2

Discussion in 'General' started by Quick Hosting Solutions, Jun 1, 2014.

  1. After install this the litespeed created a problem and when I open the domain it shows me an error of 404 on each page even if it is available or not.
  2. NiteWave

    NiteWave Administrator

    what's the environment ? is it a WHM/cPanel server ? then have you "Build Matching LSPhp" ?
  3. CentOS 64 Bit Yes it is Cpanel and I builded the LsPHP too.
  4. mistwang

    mistwang LiteSpeed Staff

    Please check the log file for the reason of 404 errors.
    You can run LiteSpeed parallel to Apache with port offset 2000 , check if everything works on port 2080. You can turn on debug logging if need.
  5. It didnt helped still it is giving the error


    2014-06-03 13:26:48.971ERROR[HTAccess] Failed to open [/home/rfyghukj/public_html/.htaccess]: Permission denied
  6. NiteWave

    NiteWave Administrator

    maybe a permission issue

    what's the output of following command?
    #ls -al /home/rfyghukj/public_html
  7. mistwang

    mistwang LiteSpeed Staff

    You need to fix the permission problem.
    The Apache mod_ruid2 require some privileged capabilities to function, which give httpd processes the permission to read that .htaccess, but it has increase the security risk in case the server has been hacked via Apache security hole.
    LiteSpeed does not have that kind of risk, but require you to fix the file permission to allow "nobody" user to read that file.

Share This Page