<!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">Okay, I've tried it with
this config as well:<br>
</font>
<pre wrap=""> rewrite ^/res/(.+)$ /code/script.CustomResource.php?File=$1 last;
rewrite ^/Blocked$ /code/Scripts/Blocked.php last;
location ~* \.php {
include fastcgi;
}</pre>
Same result...<br>
<br>
<br>
mike wrote:
<blockquote
cite="mid:bd9320b30809291136k59761c6dqa96325fc14bf54c2@mail.gmail.com"
type="cite">
<pre wrap="">dunno. but for auth and other locations i've typically had to use the
nested approach.
either way i don't see a need for any of those location blocks besides
the \.php one in your config
On Mon, Sep 29, 2008 at 11:19 AM, Clint Priest <a class="moz-txt-link-rfc2396E" href="mailto:cpriest@warpmail.net"><cpriest@warpmail.net></a> wrote:
</pre>
<blockquote type="cite">
<pre wrap="">I would agree with you, but one way works without the extra include... any
idea why?
mike wrote:
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 {
rewrite ^/res/(.+)$ /code/script.CustomResource.php?File=$1 last;
- }
- location / {
rewrite ^/Blocked$ /code/Scripts/Blocked.php last;
- }
location ~* \.php {
include fastcgi;
}
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>
<pre wrap=""><!---->
</pre>
</blockquote>
</body>
</html>