Works in Apache but not in litespeed

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

  1. AusRob

    AusRob New Member


    A customer of ours has the following in a .htaccess

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

  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/$1

Share This Page