LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Install/Configuration (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=11)
-   -   how to config for plain executable cgi "scripts" (http://www.litespeedtech.com/support/forum/showthread.php?t=197)

peavys 06-06-2005 01:26 PM

how to config for plain executable cgi "scripts"
 
I have a system where the cgi is written in C, so there is not intrepreter, they are just executables. I could not find a way to configure LiteSpeed to handle this, it seems to want an intrepreter for scripts. Is there a way?

Thanks,

Corky

mistwang 06-06-2005 01:42 PM

You need to creat a "CGI" context and copy the executable to the directory that the context refers to.
For example, with default installation, just copy the executable "foo" under lsws/DEFAULT?cgi-bin/, then access url http://<host>/cgi-bin/foo to execute it.

peavys 06-06-2005 03:08 PM

Is this something that would be done in the web interface? I don't see anything about creating ""CGI" context " in the web interface. I see a general description of it in the docs, but nothing specific about how to do it. How's it done?

Thanks for your reply!

Corky

mistwang 06-06-2005 05:20 PM

If you try adding a context from web admin interface, you will find it is very easy to add a CGI context. :-)


All times are GMT -7. The time now is 03:51 PM.