lscgid: execve(): Permission denied

Hi There,

I'm trying to setup a site that uses a simple perl script:


use LWP::Simple;

print "Content-type: text/html\n\n";


foreach$line(@content) {
	$line=~s/<HEAD>/<HEAD>\n<BASE target=\"_top\">\n/;
	print $line;
Other perl scripts work fine however this one gives a permission denied error? Can you tell me what I've missed?



Well-Known Member
i'm also getting this, but may be different issue.

when i try to access a html file in /cgi-bin/something.html, i get that error.

is there any way around this?


LiteSpeed Staff
LiteSpeed does not allow serve any static content from a CGI directory for security reason.
If you really need to do this, you can use "Alias" or "AliasMatch" directive to tell LSWS that those files should be served as static content.