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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > Install/Configuration > how to config for plain executable cgi "scripts"

Reply
 
Thread Tools Display Modes
  #1  
Old 06-06-2005, 01:26 PM
peavys peavys is offline
New Member
 
Join Date: Jun 2005
Posts: 2
Default 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
Reply With Quote
  #2  
Old 06-06-2005, 01:42 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
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.
Reply With Quote
  #3  
Old 06-06-2005, 03:08 PM
peavys peavys is offline
New Member
 
Join Date: Jun 2005
Posts: 2
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
Reply With Quote
  #4  
Old 06-06-2005, 05:20 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
If you try adding a context from web admin interface, you will find it is very easy to add a CGI context. :-)
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

Similar Threads
Thread Thread Starter Forum Replies Last Post
awstats config problem on LS v3.1.1 Simply Install/Configuration 3 07-18-2007 02:52 PM
Editing XML config to set up Litespeed/Rails thomasn Ruby/Rails 4 07-13-2007 09:39 PM


All times are GMT -7. The time now is 06:45 AM.



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