LiteSpeed Support Forums

LiteSpeed Support Forums (http://www.litespeedtech.com/support/forum/index.php)
-   Feedback/Feature Requests (http://www.litespeedtech.com/support/forum/forumdisplay.php?f=10)
-   -   RemoveHandler (http://www.litespeedtech.com/support/forum/showthread.php?t=3086)

IrPr 06-04-2009 02:00 PM

RemoveHandler
 
It seems RemoveHandler directive is not implemented in LiteSpeed, yet

I want to disable CGI scripts globally to improve server security, but if i disable that using Options -ExecCGI it would be enabled using htaccess with the same Options method

Is it possible to implement RemoveHandler directive also? If yes, which release?

Thanks in advance

auser 06-04-2009 09:33 PM

regarding RemoveHandler, by apache document:
http://httpd.apache.org/docs/2.3/mod...tml#addhandler

RemoveHandler can also be overrided by AddHandler as long as
AllowOverride FileInfo

is set.

bf_fc 11-08-2010 11:08 PM

Quote:

Originally Posted by IrPr (Post 15530)
It seems RemoveHandler directive is not implemented in LiteSpeed, yet

Still not there, apparently. Had "AddHandler application/x-httpd-php .js .css" in /files/ and "RemoveHandler application/x-httpd-php .js .css" in /files/scripts/, and the .css and .js files in /files/scripts/ were parsed by PHP.

webizen 11-09-2010 12:20 AM

Try "RemoveType .css .js"


All times are GMT -7. The time now is 10:48 AM.