Rewrite Rules from apache

Francis Daly francis at
Fri Jul 8 07:38:36 UTC 2016

On Thu, Jul 07, 2016 at 06:49:21PM +0200, Daniel wrote:

Hi there,

> This is my htaccess Rule:
>  RewriteCond %{DOCUMENT_ROOT}/$3 -f
>  RewriteRule ^(.*?)/(.*?)/(.*)$ /$3

I suspect that some previous part of the htaccess file has a regex which
sets $3. What is that?

Or, alternatively:

What http request do you make?

What response do you want? As in, what file on your filesystem do you
want nginx to return, for this request?

Francis Daly        francis at

More information about the nginx mailing list