LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Movable Type & LSWS?

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2007, 08:13 PM
SoreGUms SoreGUms is offline
Member
 
Join Date: Jul 2007
Location: Sydney, Australia
Posts: 32
Default 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
Reply With Quote
  #2  
Old 09-12-2007, 08:46 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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.
Reply With Quote
  #3  
Old 09-12-2007, 06:38 PM
SoreGUms SoreGUms is offline
Member
 
Join Date: Jul 2007
Location: Sydney, Australia
Posts: 32
Quote:
Originally Posted by mistwang View Post
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
Reply With Quote
  #4  
Old 09-13-2007, 01:32 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,585
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.
Reply With Quote
  #5  
Old 09-13-2007, 07:01 PM
SoreGUms SoreGUms is offline
Member
 
Join Date: Jul 2007
Location: Sydney, Australia
Posts: 32
Quote:
Originally Posted by mistwang View Post
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
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 01:03 AM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.