<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font face="Courier New, Courier, monospace">I would agree with you,
but one way works without the extra include... any idea why?</font><br>
<br>
mike wrote:
<blockquote
cite="mid:bd9320b30809291057s6df4d617x38d7746deca9f252@mail.gmail.com"
type="cite">
<pre wrap=""> Mon, Sep 29, 2008 at 10:35 AM, Clint Priest <a class="moz-txt-link-rfc2396E" href="mailto:cpriest@warpmail.net"><cpriest@warpmail.net></a> wrote:
- location /res {
</pre>
<blockquote type="cite">
<pre wrap=""> rewrite ^/res/(.+)$ /code/script.CustomResource.php?File=$1 last;
</pre>
</blockquote>
<pre wrap=""><!---->- }
- location / {
</pre>
<blockquote type="cite">
<pre wrap=""> rewrite ^/Blocked$ /code/Scripts/Blocked.php last;
</pre>
</blockquote>
<pre wrap=""><!---->- }
</pre>
<blockquote type="cite">
<pre wrap=""> location ~* \.php {
include fastcgi;
}
</pre>
</blockquote>
<pre wrap=""><!---->
you'd need to nest the fastcgi location too inside of that block, if
it -has- to be in a location {} - but i don't think you need those
location original blocks at all.
</pre>
</blockquote>
</body>
</html>