I have the same scope for directories, I need to have them defined at 0750,
instead of 0700:
# ls -lha /var/lib/nginx/fastcgi
total 4.0K
drwxr-x---. 6 nginx root 120 Aug 10 14:09 .
drwxr-xr-x. 9 root root 4.0K Aug 5 20:38 ..
drwx--. 3 nginx nginx 60 Aug 10 14:09 1
drwx--. 3 nginx ngi
Hi all,
I looked into /src/core/ngx_file.c and noticed that
ngx_conf_set_access_slot() defines the access type.
What is the variable I need to use in order to force new files to be written
0640, instead of 0600 as access defines it?
I tried, without success:
fastcgi_temp_path /var/l
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
> start
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 so
Francis,
We are going in circles without reaching a solution. I think what I asked is
very clear and simple:
How do I avoid repeating a segment of configuration code assigned to @php
into various locations:
location @php {
try_files $uri =404;
fastcgi_split_path_info ^(.+\.php)(/.+
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 cod
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
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;
Hello everyone,
I have a little problem on hand, related to redirect loop for a specific
location:
server {
listen 192.168.1.2:443 spdy ssl default_server;
...
location ^~ /alpha {
return 301 https://www.domain.com$request_uri;
}
...
}
I would like to redirect URL's of this format:
https://www
Thank you Maxim. :)
Is there a way to skip the IF with try_files and still having a 301
footprint?
Something like:
try_files /beta/info/$arg_id/ =404;
Posted at Nginx Forum:
http://forum.nginx.org/read.php?2,240299,240302#msg-240302
___
nginx mailing l
Hello everyone,
I'm currently using Nginx 1.4.1 on CentOS 6.4 64bits and trying to perform a
redirect of this type:
location /alpha {
location ~ ^/alpha/script.+([\d]+)$ {
return 301 /beta/info/$1/;
}
}
The originating location is /alpha/script.php?id=328.
The redirected location
Hi everyone,
I was wondering if there are any plans to add full WebDAV support to native
nginx module?
Right now I use ngx_http_dav_ext_module.c as complement and I'm wondering
what are the reasons why the devs do not add the missing commands.
Regards,
Floren
Posted at Nginx Forum:
http://foru
12 matches
Mail list logo