Hey guys,
I try to get url rewrite work for my domain, but all of my trials fails, by now.
I want to rewrite http://www.domain.com/index.php?test.php?_escaped_fragment= to http://www.domain.com/index.php?test.php&_escaped_fragment=
Here comes my rule, that throws out an including error from index.php:
<rule name="Imported Rule 1" stopProcessing="true">
<match url="^(.*)$" ignoreCase="false" />
<conditions logicalGrouping="MatchAll">
<add input="{QUERY_STRING}" pattern="^([^?]*)\?(.*)\?(.*)$" ignoreCase="false" />
</conditions>
<action type="Rewrite" url="index.php?url=test.php&{C:3}" appendQueryString="false" logRewrittenUrl="true" />
</rule>
But index.php showing php error:
include(test.php?_escaped_fragment_=) [function.include]: failed to open stream: Operation not permitted in...
Can someone help me please, it is important.
Thanks a lot
|