Works in Apache but not in litespeed

Discussion in 'Apache Migration/Compatibility' started by AusRob, Apr 17, 2009.

  1. AusRob

    AusRob New Member

    Hello,

    A customer of ours has the following in a .htaccess

    Code:
    Action tt2 /cgi/tt_handler.pl
    AddHandler tt2 .htm
    AddHandler tt2 .html
    
    However it does not parse in litespeed could someone give us the correct directives for litspeed

    Thanks
  2. mistwang

    mistwang LiteSpeed Staff

    It does not work LSWS now, you can change it to use rewrite for the same result like

    Rewrite ^(.*\.(htm|html))$ /cgi/tt_handler.pl/$1

Share This Page