RemoveHandler

Discussion in 'Feedback/Feature Requests' started by IrPr, Jun 4, 2009.

  1. IrPr

    IrPr New Member

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

    auser Super Moderator

  3. bf_fc

    bf_fc New Member

    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.
  4. webizen

    webizen New Member

    Try "RemoveType .css .js"

Share This Page