0

I found this rule in my INI file of the IIRF Isapi Filter (to rewrite urls on the server), anyone can help me to understand what's mean? I found that "S=45" it's only to jump lines, but what is the meaning of "-"?

RewriteRule ^.*$ - [S=45]
Max
  • 4,965
  • 17
  • 49
  • 64

1 Answers1

0

The [S=x] modifier tells mod_rewrite to skip the next x rules for the matching urls. Since the instruction is to skip the rules, the - is just a placeholder, the url is not really rewritten.

By the way, IIRF does not support the [S] modifier, this line may comes from an incorrectly adapted mod_rewrite configuration.

marapet
  • 54,856
  • 12
  • 170
  • 184