Condense mod rewrite?

It should be like this: RewriteRule \. Html(.*)$ index. Php?

$1 L RewriteRule \. Htm(.*)$ index. Php?

$1 L and condensed: RewriteRule \. Html?(.*)$ index. Php?

$1 L or: RewriteRule \.(html|htm)(.*)$ index. Php? $1 L.

Perfect thank you. I have not idea what the + sign is for! Rewrites are not my strong point.

– James Jul 23 at 23:47 it is for 1..n repeats of the previous character or block of characters, e.g. Ab+ matches ab, aba, abba, (htm)+ matches htm, htmhtm etc. But in your example it didn't make sense so I removed it. – Tomas T. Jul 23 at 23:56 Thanks Thomas.

Can you recommend a good place to learn about the rewrite syntax – James Jul 24 at 12:04 Just see the Apache doc - mod_rewrite ( httpd.apache.Org/docs/2.2/mod/mod_rewrite. Html ) . But if you mean the syntax of the regular expressions, just look at PCRE - perl compatible regular expressions.

See man perlre on linux, PHP documentation or google. – Tomas T. Jul 24 at 13:28.

RewriteRule \.(html|htm)(.*)$ index. Terms of service. Not the answer you're looking for?

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions