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

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Close CGI for Litespeed [Help PLS]

Reply
 
Thread Tools Display Modes
  #1  
Old 01-28-2011, 05:55 AM
nexterr nexterr is offline
New Member
 
Join Date: Jan 2011
Posts: 1
Default Close CGI for Litespeed [Help PLS]

Litespeed webserver installed on my server to use can cgi hosting accounts can I do? Many security risk, for example, causing the CGI hacking with cgi-telnet script is inevitable.
Reply With Quote
  #2  
Old 02-01-2011, 10:58 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
The latest 4.1RC4 (available from below) addresses this concern.

http://www.litespeedtech.com/package...4-linux.tar.gz
http://www.litespeedtech.com/package...6-linux.tar.gz
http://www.litespeedtech.com/package...6-linux.tar.gz

If your lsws reads httpd.conf from control panel, put the below config in your httpd.conf
Code:
<IfModule litespeed>
DisableCgiOverride On
</IfModule>
If you run native lsws config, put "DisableCgiOverride On" in Apache Style Configurations (Admin Console -> Configurations -> Server -> General).

"DisableCgiOverride On" is to prevent user from adding things like "AddHandler cgi-script .cgi .pl" at local .htaccess level.

cgi type context(alias) needs to be removed at virtual host level if you want to completely disable cgi.
Reply With Quote
  #3  
Old 02-06-2011, 11:31 AM
Statskij Statskij is offline
Member
 
Join Date: Dec 2008
Posts: 27
We have installed 4.1RC4 and made all operations in a message above with options -ExecCGI in http.conf but users still can run .cgi scripts. Have anyone suceessfully disabled .cgi in Litespeed?
webizen, maybe you can comment, what else can be wrong on our server?
Reply With Quote
  #4  
Old 02-06-2011, 04:02 PM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,339
pm your server temporary access so we can take a look
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 04:19 PM.



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