mod rewrite - Setting a default Apache RewriteRule entry -


I want to set a 'default' rewrite rule to catch anything that does not match the previous rewrite entries. I have tried to do this:

  Rewrite rule ^ (. *) /? $ Index.php? Url = $ 1 [L]  

But the output is back:

  url = index.php  

Ideally, I want all GET values ​​to be added to 'url' so that they have any suggestions from anybody on my web logs how to solve it?

Whenever you can, if you want to exclude "index.php": < / P>

 

  rewriterule. Index.php? Url = $ 0 [L]  

rewrite ^ (?! Index .php). * Index.php? Url = $ 0 [L]


Comments

Popular posts from this blog

iphone - How do I make a UIPickerView in a UIActionSheet -

java - Is there an object like a "Set" that can contain only unique string values, but also contain a count on the number of occurrences of the string value? -