View Full Version : No certificates in /etc/ allowed?
andreas
08-17-2006, 07:18 AM
Why?
function isDenied($path)
{
$absname = realpath($path);
if ( strncmp( $absname, '/etc/', 5 ) == 0 )
return true;
else
return false;
}
mistwang
08-17-2006, 07:40 AM
That's for security reason, maybe not necessory. Will take it out.
tpersen
09-06-2006, 11:26 AM
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.