Movable Type & LSWS?

SoreGUms

Active Member
#1
I don't know anything about perl/cgi/python - basically anything that isn't php...

How the heck do I get LSWS & Movable Type working?

I've setup the Virtual Host and that's all ok. Just need the External App (cgi/perl) bit.
I've extracted all the files to $VH_ROOT/html/cgi-bin/

Thanks :)
 

mistwang

LiteSpeed Staff
#2
Just create a CGI context with URI "/cgi-bin/" and location "$VH_ROOT/html/cgi-bin/", then you can pretty much follow their installation guide.
 

SoreGUms

Active Member
#3
Just create a CGI context with URI "/cgi-bin/" and location "$VH_ROOT/html/cgi-bin/", then you can pretty much follow their installation guide.
Thank you for that

How do I allow static content from this location?

Accessing:
  • http://domain.tld/cgi-bin/index.html
Results in:
  • lscgid: execve(): Permission denied
 

mistwang

LiteSpeed Staff
#4
It is not allowed to serve static content under CGI context/directory. You have to create "static" context for static content. You can use a matching static context like:
URI: exp: ^/cgi-bin/(.*\.html)$
location: path/to/cgi-bin/$1

make sure this context has smaller sequence number than the CGI context.
good luck.
 

SoreGUms

Active Member
#5
It is not allowed to serve static content under CGI context/directory. You have to create "static" context for static content. You can use a matching static context like:
URI: exp: ^/cgi-bin/(.*\.html)$
location: path/to/cgi-bin/$1

make sure this context has smaller sequence number than the CGI context.
good luck.
Thanks for that - I got it :)
 
Top