Welcome! Log In Create A New Profile

Advanced

Re: "alias" directive may not be used inside location given

Maxim Dounin
July 07, 2010 11:44AM
Hello!

On Wed, Jul 07, 2010 at 02:32:57PM +0200, Fernando Perez wrote:

> I don't understand the following error:
>
> the "alias" directive may not be used inside location given by regular
> expression
>
> >From the docs it seems possible:
> http://wiki.nginx.org/NginxHttpCoreModule#alias
>
> I'm running 0.7.38

Changes with nginx 0.7.40
09 Mar 2009

*) Feature: the "location" directive supports captures in regular
expressions.

*) Feature: an "alias" directive with capture references may be used
inside a location given by a regular expression with captures.

....

It's just not in 0.7.38 (which is rather old, and from 0.7.*
branch when it wasn't yet marked stable).

It's time to upgrade.

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

"alias" directive may not be used inside location given

Fernando Perez July 07, 2010 08:38AM

Re: "alias" directive may not be used inside location given

Igor Sysoev July 07, 2010 08:42AM

Re: "alias" directive may not be used inside location given

Fernando Perez July 07, 2010 09:58AM

Re: "alias" directive may not be used inside location given

Fernando Perez July 07, 2010 10:34AM

Re: "alias" directive may not be used inside location given

Denis F. Latypoff July 07, 2010 08:44AM

Re: "alias" directive may not be used inside location given

Fernando Perez July 07, 2010 09:04AM

Re: "alias" directive may not be used inside location given

Maxim Dounin July 07, 2010 11:44AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 201
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready