I am converting an old site which relies heavily on 'pretty URLs' and Apache Rewrite rules. I understand that LiteSpeed can have Static or CGI contexts which use regular expressions. At the VHost level, I already have a lsapi PHP looking at php, html and php3 extensions, but the following Static rule just shows the source file:
I tried using a CGI context as well, but I received this error:
Obviously it is trying to execute it, but it shouldn't be using lscgid in the first place -- I want it to use lsphp.
Any suggestions?
Code:
URI: exp:^/help/sections/([0-9]+)\.html
Root: $DOC_ROOT/help/showsection.php?section=$1
Accessible: Yes
Code:
lscgid: execve(): Permission denied
Any suggestions?