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

Go Back   LiteSpeed Support Forums > LiteSpeed Web Server > General > Prevent execution of cgi and perl scripts

Reply
 
Thread Tools Display Modes
  #1  
Old 08-19-2009, 11:15 PM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Default 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 ...
Reply With Quote
  #2  
Old 08-20-2009, 10:15 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
If LiteSpeed use Apache httpd.conf, you can just do the same.
If configure LSWS natively, you can remove the corresponding script handler configuration.
Reply With Quote
  #3  
Old 08-20-2009, 10:25 AM
masood_y masood_y is offline
Senior Member
 
Join Date: Sep 2008
Posts: 121
Quote:
Originally Posted by mistwang View Post
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?
Reply With Quote
  #4  
Old 08-20-2009, 10:30 AM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,586
http://www.litespeedtech.com/docs/we...scripthandler/
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 12:57 PM.



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