Prevent execution of cgi and perl scripts

Discussion in 'General' started by masood_y, Aug 20, 2009.

  1. masood_y

    masood_y New Member

    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 ...
  2. mistwang

    mistwang LiteSpeed Staff

    If LiteSpeed use Apache httpd.conf, you can just do the same.
    If configure LSWS natively, you can remove the corresponding script handler configuration.
  3. masood_y

    masood_y New Member

    How can do it?
  4. mistwang

    mistwang LiteSpeed Staff

Share This Page