LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   General (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=25)
-   -   Prevent execution of cgi and perl scripts (http://www.litespeedtech.com/support/forum/showthread.php?t=3283)

masood_y 08-19-2009 11:15 PM

Prevent execution of cgi and perl scripts
 
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 08-20-2009 10:15 AM

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

masood_y 08-20-2009 10:25 AM

Quote:

Originally Posted by mistwang (Post 16588)
If LiteSpeed use Apache httpd.conf, you can just do the same.
If configure LSWS natively, you can remove the corresponding script handler configuration.

How can do it?

mistwang 08-20-2009 10:30 AM

http://www.litespeedtech.com/docs/we...scripthandler/


All times are GMT -7. The time now is 01:46 AM.