<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
</head>
<body text="#000000" bgcolor="#ffffff">
On 10/17/2011 10:33 AM, Nginx User wrote:<br>
<span style="white-space: pre;">> Let me get this right. Do I
need to always escape the "\" inserted<br>
> to escape "." in "\." in lua and then add another couple of
"\"s?<br>
> I.E., do I need to do "sqlpatch\\\\.php" to get
"sqlpatch\.php"<br>
> passed to the regex finally? IOW, do I basically replace each
"\"<br>
> with "\\\\"?<br>
<br>
</span>Yes.<br>
<br>
<span style="white-space: pre;">> If I understand agentzh, the
rewrite module handles this behind the <br>
> scenes and allows us to use familiar syntax. Is that right?</span><br>
<br>
The rewrite module apparently changes how the string is parsed in
the Nginx file, yes.<br>
<br>
Tim<br>
</body>
</html>