No certificates in /etc/ allowed?

andreas

Well-Known Member
#1
Why?

function isDenied($path)
{
$absname = realpath($path);
if ( strncmp( $absname, '/etc/', 5 ) == 0 )
return true;
else
return false;
}
 
#3
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.
 
Top