Movable Type & LSWS?

Discussion in 'CGI/Perl/Python' started by SoreGUms, Sep 12, 2007.

  1. SoreGUms

    SoreGUms New Member

    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 :)
  2. mistwang

    mistwang LiteSpeed Staff

    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.
  3. SoreGUms

    SoreGUms New Member

    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
  4. mistwang

    mistwang LiteSpeed Staff

    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.
  5. SoreGUms

    SoreGUms New Member

    Thanks for that - I got it :)

Share This Page