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

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -