I itdungpt Member Jun 23, 2012 #1 Jun 23, 2012 #1 hi, I user cpanel + Litespeed i was added <IfModule litespeed> DisableCgiOverride On </IfModule> Click to expand... But chmod 755 file.cgi is file.cgi working Can all help me disable ?
hi, I user cpanel + Litespeed i was added <IfModule litespeed> DisableCgiOverride On </IfModule> Click to expand... But chmod 755 file.cgi is file.cgi working Can all help me disable ?
N NiteWave Administrator Jun 25, 2012 #2 Jun 25, 2012 #2 please refer: http://www.litespeedtech.com/support/forum/showthread.php?t=4642 "DisableCgiOverride On" is to prevent user from adding things like "AddHandler cgi-script .cgi .pl" at local .htaccess level. Click to expand... need more info regarding why file.cgi still working.
please refer: http://www.litespeedtech.com/support/forum/showthread.php?t=4642 "DisableCgiOverride On" is to prevent user from adding things like "AddHandler cgi-script .cgi .pl" at local .htaccess level. Click to expand... need more info regarding why file.cgi still working.
I itdungpt Member Jun 25, 2012 #3 Jun 25, 2012 #3 i want have lscgid: execve():i: Permission denied when chmod 755 file.cgi
W webizen Well-Known Member Jun 25, 2012 #4 Jun 25, 2012 #4 you can change permission of /path/to/perl to be non-executable.
I itdungpt Member Jun 25, 2012 #5 Jun 25, 2012 #5 you can change permission of /path/to/perl to be non-executable. Click to expand... How to ? My path perl /usr/bin/perl Click to expand...
you can change permission of /path/to/perl to be non-executable. Click to expand... How to ? My path perl /usr/bin/perl Click to expand...
W webizen Well-Known Member Jun 25, 2012 #6 Jun 25, 2012 #6 do the following: chmod -x /usr/bin/perl Click to expand...
I itdungpt Member Jun 25, 2012 #7 Jun 25, 2012 #7 I was try chmod -x /usr/bin/perl But file.cgi still working.
N NiteWave Administrator Jun 26, 2012 #8 Jun 26, 2012 #8 But file.cgi still working. Click to expand... what's the first line of file.cgi ? what do you mean "still working", access it through domain.com/file.cgi ?
But file.cgi still working. Click to expand... what's the first line of file.cgi ? what do you mean "still working", access it through domain.com/file.cgi ?
I itdungpt Member Jun 26, 2012 #9 Jun 26, 2012 #9 This is code file.cgi please download Attach Files Attachments file-cgi.zip 13.6 KB Views: 5
W webizen Well-Known Member Jun 26, 2012 #10 Jun 26, 2012 #10 see if you can run from command line. perl file.cgi Click to expand... you should see permission error if perl is not runnable.
see if you can run from command line. perl file.cgi Click to expand... you should see permission error if perl is not runnable.
T TND.VN New Member Nov 15, 2012 #11 Nov 15, 2012 #11 NiteWave said: what's the first line of file.cgi ? what do you mean "still working", access it through domain.com/file.cgi ? Click to expand... Internal Server Error 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_lsws.cgi) with exit signal: 1 Last edited: Nov 15, 2012
NiteWave said: what's the first line of file.cgi ? what do you mean "still working", access it through domain.com/file.cgi ? Click to expand... Internal Server Error 500 No response from subprocess (/usr/local/cpanel/whostmgr/docroot/cgi/addon_lsws.cgi) with exit signal: 1