No certificates in /etc/ allowed?

Discussion in 'Install/Configuration' started by andreas, Aug 17, 2006.

  1. andreas

    andreas New Member

    Why?

    function isDenied($path)
    {
    $absname = realpath($path);
    if ( strncmp( $absname, '/etc/', 5 ) == 0 )
    return true;
    else
    return false;
    }
  2. mistwang

    mistwang LiteSpeed Staff

    That's for security reason, maybe not necessory. Will take it out.
  3. tpersen

    tpersen New Member

    This is still in LSWS 2.2, but for those interested you can easily take out this security check for yourself. The applicable source file for the admin interface is:

    /<litespeed_install_dir>/admin/html/admin/scripts/PathTool.php

    Find the isDenied function and comment out (or delete) every line except 'return false;' and you won't get that error anymore.

Share This Page