Prevent execution of cgi and perl scripts

masood_y

Well-Known Member
#1
How can prevent execution of cgi and perl scripts?
I know it is posible by comment out these lines from httpd.conf:

AddHandler cgi-script .cgi
AddHandler cgi-script .pl
AddHandler cgi-script .cgi .pl

But, i need to do it on my litespeed. Help me please ...
 

mistwang

LiteSpeed Staff
#2
If LiteSpeed use Apache httpd.conf, you can just do the same.
If configure LSWS natively, you can remove the corresponding script handler configuration.
 
Top