Welcome! Log In Create A New Profile

Advanced

Re: ${uri}index.php causing error.

Maxim Dounin
April 08, 2010 07:10AM
Hello!

On Thu, Apr 08, 2010 at 08:55:38PM +1000, Leonardo Crespo wrote:

> G'day mate!
>
> > Curly brackets aren't allowed outside quoted strings as they
> > denote configuration blocks.
>
> Ah that's why! So can I use either one of the 2 options? Care to
> explain the - and + signs in front of try_files? They're not on the
> wiki too.

"-" and "+" are from unified diff(1) fromat. You have to remove
first line and add second instead (with quotes added).

[...]

> > - try_files $uri.php ${uri}index.php =404;
> > + try_files $uri.php "${uri}index.php" =404;

Maxim Dounin

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

${uri}index.php causing error.

leocrespo April 07, 2010 07:12PM

Re: ${uri}index.php causing error.

Maxim Dounin April 08, 2010 05:04AM

Re: ${uri}index.php causing error.

leocrespo April 08, 2010 07:00AM

Re: ${uri}index.php causing error.

Reinis Rozitis April 08, 2010 07:10AM

Re: ${uri}index.php causing error.

leocrespo April 08, 2010 07:40AM

Re: ${uri}index.php causing error.

Maxim Dounin April 08, 2010 07:10AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 131
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