Welcome! Log In Create A New Profile

Advanced

how to define location to math all .php files with authentication ?

Flavio Torres
September 20, 2010 04:58PM
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

Please, how can I define a location to math all .php files ?

Actually, I'm using the following configuration:
http://pastebin.com/RMWWGD4a

As you can see, I had to define (line 42) a location ~.php$ { ... }
inside (line 39) location ~* /test { ... } with authentication. It
worked for me, but, this is the best way ?


Thank you guys!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAkyXyiYACgkQNRQApncg295WYgCdF7aDie4su51bPWIqHtbfErsX
GrkAmwcTzbMtOF/Qt1RUpZQKuR9LJIKE
=0Y+a
-----END PGP SIGNATURE-----



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

how to define location to math all .php files with authentication ?

Flavio Torres September 20, 2010 04:58PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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