[aur-dev] Difficulties setting up local aurweb server

Lukas Fleischer lfleischer at archlinux.org
Tue Jun 16 12:05:59 UTC 2015


On Tue, 16 Jun 2015 at 13:32:40, Marcel Korpel wrote:
> * Marcel Korpel <marcel.korpel at gmail.com> (Tue, 16 Jun 2015 11:55:36
> +0200):
> > Also, when going to /packages/, I get a 404 and the log says that the
> > server is looking for /packages/index.php, so there's clearly
> > something wrong with URL rewriting. I uploaded my current nginx.conf
> > at [2].
> 
> About this part: one way or another I had that location block in my
> nginx.conf, I replaced it with the one in INSTALL, but now I get an
> error about "rewrite or internal redirection cycle", as it wants to
> access an infinite amount of /index.php/index.php/…

You need to move the block that handles .php URIs above the
"match-anything" rule, check [1] for details.

[1] http://nginx.org/en/docs/http/ngx_http_core_module.html#location


More information about the aur-dev mailing list