LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   CGI/Perl/Python (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=22)
-   -   Movable Type & LSWS? (http://www.litespeedtech.com/support/forum/showthread.php?t=1349)

SoreGUms 09-11-2007 08:13 PM

Movable Type & LSWS?
 
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 09-12-2007 08:46 AM

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 09-12-2007 06:38 PM

Quote:

Originally Posted by mistwang (Post 6575)
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 09-13-2007 01:32 PM

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 09-13-2007 07:01 PM

Quote:

Originally Posted by mistwang (Post 6586)
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 :)


All times are GMT -7. The time now is 04:21 PM.