Specific permissions for fastcgi_temp_path?

2014-08-10 Thread TECK
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

Re: Specific permissions for fastcgi_temp_path?

2014-08-10 Thread TECK
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

Re: Nginx 1.7.0: location @php

2014-06-04 Thread TECK
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

Re: Nginx 1.7.0: location @php

2014-06-04 Thread TECK
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.

Re: Nginx 1.7.0: location @php

2014-05-31 Thread TECK
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

Re: Nginx 1.7.0: location @php

2014-05-31 Thread TECK
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

Nginx 1.7.0: location @php

2014-05-25 Thread TECK
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;

Redirect loop fixed, I need a better rule format

2013-12-22 Thread TECK
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:

Redirection issues

2013-06-24 Thread TECK
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

Full WebDAV support?

2013-04-25 Thread TECK
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: