I'm sorry, I did not understood nothing. Can you provide an example of how
to avoid repeating the php configuration through @php location?
As someone said in earlier mails you can always use include and put the
repeating parts in seperate files.
For example put this into php.conf:
location
support Wrote:
---
yes.
update and test
02.06.2014 10:24, wishmaster пишет:
I have the same problem in my php-application. Admin folder is
protected with auth_basic and the rest folders - without auth. I have
not found any solution
Jonathan Matthews Wrote:
---
Fortunately, this being a *public* *mailing* *list*, and Francis
(along with almost every other subscriber) giving his time, experience
and opinions for free, you are definitely no worse off than when you
started.
I have the same problem in my php-application. Admin folder is protected with
auth_basic and the rest folders - without auth. I have not found any solution
except code duplication for php location.
--- Original message ---
From: TECK nginx-fo...@nginx.us
Date: 2 June 2014, 06:47:47
yes.
update and test
02.06.2014 10:24, wishmaster пишет:
I have the same problem in my php-application. Admin folder is protected with
auth_basic and the rest folders - without auth. I have not found any solution
except code duplication for php location.
--- Original message ---
On 2 June 2014 04:47, TECK nginx-fo...@nginx.us wrote:
Francis,
We are going in circles without reaching a solution
Fortunately, this being a *public* *mailing* *list*, and Francis
(along with almost every other subscriber) giving his time, experience
and opinions for free, you are definitely
Hi Francis,
Answer #1: what does does not work mean?
When I process an URI request, it downloads the file instead of executing
the PHP code.
What I try to achieve is very simple, use @php as location to execute PHP
code instead of repeating it over and over in various locations. Here it is
a
On Sat, May 31, 2014 at 01:59:18AM -0400, TECK wrote:
Hi there,
Answer #1: what does does not work mean?
When I process an URI request, it downloads the file instead of executing
the PHP code.
Perhaps the request that you made did not match the location blocks that
you showed?
That's the
Francis,
I'm guessing that you may want something like
try_files i-dislike-macro-include @php;
What you posted is some deprecated configuration available on Google.
Perhaps the request that you made did not match the location blocks that
you showed?
If that would be the case, the proper code
Hi all,
I'm trying to understand why the use of this configuration code does not
work:
location ^~ /setup {
auth_basic Restricted Access;
auth_basic_user_filehtpasswd;
try_files $uri $uri/ /setup/index.php?$uri$args;
On Sun, May 25, 2014 at 05:49:33AM -0400, TECK wrote:
Hi there,
I'm trying to understand why the use of this configuration code does not
work:
Answer #1: what does does not work mean?
What request do you make; what response do you get; what response do
you want?
try_files
11 matches
Mail list logo