how to convert from IIS to apache httpd rewrite rule -
i saw examples on how convert iis htaccss.
i'm using httpd conf (for performance reasons) + used online converter iis --> htaccess.
when converting rule:
<rule name="videorecords url" patternsyntax="wildcard"> <match url="videorecords/*" /> <conditions logicalgrouping="matchall" trackallcaptures="false" /> <action type="rewrite" url="videorecords/{r:1}" /> </rule> to:
#rule videorecords url rewriterule videorecords/* videorecords/$1 [] the apache doesnt load , see in logs: syntax error on line 211 of httpd.conf: rewriterule: unknown flag ''
your flags blank: []. need either add flag in ther (like l) or remove square brackets.
though, don't think rewrite rule online converter gave want.
Comments
Post a Comment