Global rewrite path

Feb 15, 2008 at 11:32 AM
Edited Feb 15, 2008 at 11:56 AM
Sorry for my bad english

I have sites, which use the module of statistics on my server.
For example the Site "www.sample1.com" is located in directory "C:\InetPub\wwwroot\sample1.com"
By request "www.sample1.com/stat" should the module is caused: "C:\InetPub\WWWRoot\all.StatEngine\default.aspx"

The Rule:
RewriteRule ^/stat/(.*)$ c:/InetPub/wwwroot/all.StatEngine/default.aspx?sitename=%{SERVER_NAME}&rqstr=$1 I,L

Works not truly:
Fri Feb 15 13:42:49 2008 - OnUrlMap: storing physical path (c:\InetPub\wwwroot\sample1.comc:\InetPub\wwwroot\all.StatEngine\default.aspx?sitename=sample1.com&rqstr=2007-12)

Is it possible to add some flag (like R.I.L.U) for an absolute way on redirect in future versions?
Coordinator
Feb 18, 2008 at 2:27 AM
no.

you do not specify path names in the replacement pattern for the RewriteRule.
You specify URLs. The mapping of URLs to pathnames is done with IIS virtual directories.

I suggest you read the doc again.