<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=ISO-8859-15">
</head>
<body text="#000000" bgcolor="#FFFFFF">
Hello.<br>
I'm having a problem with nginx's rewrite directive.<br>
Basically, when the URL contains a trailing point, it is ignored by
the rewrite regexp.<br>
Let's do an example:<br>
I load <a class="moz-txt-link-freetext" href="http://uri/something">http://uri/something</a>. (with the trailing point). Then, with
the rewrite rule:<br>
rewrite ^/something\.$ /index.html<br>
I should see 'index.html', but instead that appears in the logfile
(with rewrite_log set at on):<br>
2013/05/22 20:36:07 [notice] 6256#1440: *57 "^/something\.$" does
not match "/something", client: 127.0.0.1, server: localhost,
request: "GET /something. HTTP/1.1", host: "localhost"<br>
As you can see, the trailing point is missing from the "does not
match" part of the log.<br>
<br>
Is there any workaround for that?<br>
Thank you in advance,<br>
Robertof<br>
<br>
</body>
</html>