RewriteRule (.*\.rhtml)$ /cgi-bin/erubis/$1
http://your.site/test.rhtml
, the rhtml file will be parsed and rendered with /cgi-bin/erubis.If this does not work, most likely your rewrite rule has not been configured properly. Your browser may cache the response so you will need to clear your browser cache after changing LSWS configuration.