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

Go Back   LiteSpeed Support Forums > External Applications > CGI/Perl/Python > Disable cgi when chmod file.cgi 755

Reply
 
Thread Tools Display Modes
  #1  
Old 06-23-2012, 11:18 AM
itdungpt itdungpt is offline
Member
 
Join Date: Jun 2012
Posts: 11
Default Disable cgi when chmod file.cgi 755

hi,

I user cpanel + Litespeed

i was added

Quote:
<IfModule litespeed>
DisableCgiOverride On
</IfModule>
But chmod 755 file.cgi is file.cgi working

Can all help me disable ?
Reply With Quote
  #2  
Old 06-24-2012, 06:26 PM
NiteWave NiteWave is offline
LiteSpeed Staff
 
Join Date: Sep 2009
Posts: 2,295
please refer:
http://www.litespeedtech.com/support...ead.php?t=4642
Quote:
"DisableCgiOverride On" is to prevent user from adding things like "AddHandler cgi-script .cgi .pl" at local .htaccess level.
need more info regarding why file.cgi still working.
Reply With Quote
  #3  
Old 06-25-2012, 01:37 AM
itdungpt itdungpt is offline
Member
 
Join Date: Jun 2012
Posts: 11
i want have lscgid: execve():i: Permission denied
when chmod 755 file.cgi
Reply With Quote
  #4  
Old 06-25-2012, 11:21 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
you can change permission of /path/to/perl to be non-executable.
Reply With Quote
  #5  
Old 06-25-2012, 11:51 AM
itdungpt itdungpt is offline
Member
 
Join Date: Jun 2012
Posts: 11
Quote:
you can change permission of /path/to/perl to be non-executable.
How to ?

My path perl

Quote:
/usr/bin/perl
Reply With Quote
  #6  
Old 06-25-2012, 11:52 AM
webizen webizen is offline
LiteSpeed Staff
 
Join Date: Oct 2010
Posts: 2,390
do the following:
Quote:
chmod -x /usr/bin/perl
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 03:11 PM.



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