On Tue, Dec 29, 2009 at 1:28 PM, merlin corey <merlincorey@dc949.org> wrote:
>
>> RewriteCond %{REQUEST_FILENAME} -f [OR]
>>
>> RewriteCond %{REQUEST_FILENAME} -d
>
> This part of course with try_files in root location.
>
>>
>> RewriteRule .+ - [L]
>>
>
> Not really sure what this one is checking...
>
>>
>> RewriteRule ^([A-Za-z0-9_-]+)$ profile.php?ID=$1 [QSA,L]
>>
>
> Regular expression location with captures again.
>
> -- Merlin
>
Actually these last few rules are all for root location try_files like so:
location / {
try_files $uri $uri/ /profile.php?ID=$uri;
}
-- Merlin
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx