Re: nginx serving R scripts via CGI/FastRWeb

2013-02-20 Thread Francis Daly
with same error that there is no such directory, seems somehow the request it is not passed via CGI to FastWebR. Yes, that's what you configured. What happens when you test exactly what was suggested? f -- Francis Dalyfran...@daoine.org

Re: nginx serving R scripts via CGI/FastRWeb

2013-02-20 Thread Francis Daly
/cgi-bin/R/foo, which is not an executable file. Im trying to see if fastcgi_split_path_info might help anything. Yes. http://nginx.org/r/fastcgi_split_path_info It will change the values of $fastcgi_script_name and $fastcgi_path_info. f -- Francis Dalyfran...@daoine.org

Re: 502 bad gateway error with php5-fpm on Debian 7

2013-02-20 Thread Francis Daly
reload'. Because of that, I guess that the problem is in identifying the correct server{}. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Convert Apache rewrite to NGinx

2013-03-03 Thread Francis Daly
be in a location that does match -- perhaps location / {}. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Regular expression used in server_name directive

2013-03-03 Thread Francis Daly
is chosen. The problem is that I want to expand it slightly and say anything except web3.mydomain.com. I.E. something.mydomain.com matches, but web3.mydomain.com does not match. How is this possible? Make a different server{} block that matches web3.mydomain.com. f -- Francis Daly

Re: 'Primary' domain in server block?

2013-03-07 Thread Francis Daly
. There are circumstances in which the variable $host will take that value. How is PayPal doing that? Presumably you're giving the information it to PayPal somehow? And are there any config settings I can use to change this behaviour? Probably. What's your current relevant config? f -- Francis Daly

Re: proxy_read_timeout for an apache location?

2013-03-08 Thread Francis Daly
to configure it. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: External Redirect when expecting internal redirect

2013-03-10 Thread Francis Daly
, you rewrite to a directory without including the trailing /. I confess I'm not sure what it is that you want to do. Possibly setting the default in the map to blank/ will help? But you will have to decide what the next step for the user is. f -- Francis Dalyfran...@daoine.org

Re: securing access to a folder - 404 error

2013-03-18 Thread Francis Daly
is effective in this location{}? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Need to proxypass to different servers.

2013-03-19 Thread Francis Daly
not both be what you want.) f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Need to proxypass to different servers.

2013-03-19 Thread Francis Daly
themselves to be easily reverse-proxied at a non-root url, you may end up happier if you just use two separate server{} blocks with different server_name directives. But that can be worried about after you see how your /cms locations work. f -- Francis Dalyfran...@daoine.org

Re: Too Many Redirects - CDN Rewrite Rule

2013-03-21 Thread Francis Daly
be a better solution. I'm a bit confused about how your configuration can have any affect on someone else's CDN. If you want to fetch file.js from the CDN, what url should you use? Perhaps I misunderstand what NetDNA actually do. f -- Francis Dalyfran...@daoine.org

Re: Too Many Redirects - CDN Rewrite Rule

2013-03-22 Thread Francis Daly
redirects them to cdn.domain.com/file.jpg; they get that, which fetches (now successfully) cdn-src.domain.com/file.jpg and returns it to the user. Does that sound like it might do what you want, without taking too much effort to keep synchronised? f -- Francis Dalyfran...@daoine.org

Re: Nginx RP: a lot of rewrite rules

2013-04-04 Thread Francis Daly
On Thu, Apr 04, 2013 at 12:20:42PM +0200, Davide D'Amico wrote: Il 04/04/13 11:34, Francis Daly ha scritto: On Thu, Apr 04, 2013 at 09:01:17AM +0200, Davide D'Amico wrote: Hi there, I suspect that the suggestions are increasingly more efficient -- but you presumably have the interest to find

Re: nginx tips for localhost development

2013-04-15 Thread Francis Daly
curl, you don't even need that -- just add a suitable -H Host: argument to each command. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Reverse proxy : preserving base url

2013-04-15 Thread Francis Daly
that start with /. In each of those cases, the browser should interpret relative links correctly without nginx having to modify any body content. (If you use option (b) and create links like ../../../app/other/place, then that will break this. So don't do that.) f -- Francis Dalyfran

Re: handling x_forwarded_proto with Nginx as backend to HAproxy

2013-04-16 Thread Francis Daly
On Tue, Apr 16, 2013 at 02:06:30AM +0400, Maxim Dounin wrote: On Mon, Apr 15, 2013 at 10:42:30PM +0100, Francis Daly wrote: On Mon, Apr 15, 2013 at 05:35:27PM -0400, jaychris wrote: Hi there, client sent invalid header line: X_FORWARDED_PROTO: http while reading client request headers

Re: Nginx as Reverse Proxy Cache of fcgi django app in separate server

2013-04-27 Thread Francis Daly
configuration. Change it back, and it should work again. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: basic_auth for parts of uwsgi

2013-04-28 Thread Francis Daly
to have both auth_basic and uwsgi_pass. In the one location that handles the request /not-foo/something, you want to have uwsgi_pass but not auth_basic. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: HTTP Basic Auth question

2013-05-01 Thread Francis Daly
the provided username. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: understanding break and add_header combo

2013-05-02 Thread Francis Daly
locations, if the first one matches then it is the one that is used. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: your mail

2013-05-02 Thread Francis Daly
On Thu, May 02, 2013 at 01:57:47PM -0700, Paul N. Pace wrote: On Thu, May 2, 2013 at 1:21 PM, Francis Daly fran...@daoine.org wrote: On Thu, May 02, 2013 at 01:05:29PM -0700, Paul N. Pace wrote: Hi there, Other than that, I tried to follow both guides to the letter. When I go to http

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-04 Thread Francis Daly
this output? I *think* you're reporting that PATH_INFO is unexpectedly empty in $_SERVER, in which case adding fastcgi_param TEST_PATH_INFO $fastcgi_path_info; and retrying might give a hint as to where the problem is. f -- Francis Dalyfran...@daoine.org

Re: how to disable nginx internal dns cache?

2013-05-04 Thread Francis Daly
://nginx.org/r/proxy_pass suggests that you want a resolver defined, and a variable for the server name to connect to. Does that match your configuration? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: redirect loop with try_files

2013-05-04 Thread Francis Daly
can just redo the configuration to avoid most if inside location blocks. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxy_pass only if a file exists

2013-05-04 Thread Francis Daly
do something different, and now that try_files exists, -f is not the best way to achieve the common case. Is there a feasible yet efficient way? It sounds like -f is what you want, perhaps following the example shown on http://wiki.nginx.org/IfIsEvil f -- Francis Dalyfran

Re: Converting subdomain to path component without redirect ?

2013-05-04 Thread Francis Daly
fix. Compare the output of curl -i http://www.mydomain.com/it/SOMETHING; with the output of curl -i http://www.mydomain.it/SOMETHING;, and with what you expect the output to be. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list

Re: [1.4.1] Finding docroot directory?

2013-05-13 Thread Francis Daly
it is looking in. Any *other* location{} block might have a different root or alias defined, but that should be clear from the config file. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: [1.4.1] Finding docroot directory?

2013-05-13 Thread Francis Daly
might introduce its own -c argument. That's up to the administrator, and not nginx. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Problem with fastcgi_split_path_info on ubuntu precise

2013-05-14 Thread Francis Daly
On Tue, May 14, 2013 at 10:17:13AM -0400, vilsack wrote: Francis Daly Wrote: On Sun, May 05, 2013 at 07:04:21AM -0400, zakaria wrote: Hi there, location ~ [^/]\.php(/|$) { Just as another alternative, it is probably possible to use named captures in the location regex

Re: NGINX error log format documentation

2013-05-23 Thread Francis Daly
. Is there such documentation? It's hard to beat the contents of src/ for accuracy. Choose the identifying string in the line you care about, find the matching ngx_error_log call, and then see what free-form text it provides in the current version. f -- Francis Dalyfran...@daoine.org

Re: Rewriting and proxy problem

2013-05-25 Thread Francis Daly
it will become clear. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Rewriting

2013-05-25 Thread Francis Daly
corresponding to /unav/index.html else give full normal access to the site and that that can be done with if and rewrite, possibly helped by map; but the details depend on what exactly you want. f -- Francis Dalyfran...@daoine.org

Re: Rewriting and proxy problem

2013-05-27 Thread Francis Daly
; } This will handle requests for /upvc and /upvc?something. The documentation should explain why it works. All of the other directives can be added back, when you know why they are needed here. Cheers, f -- Francis Dalyfran...@daoine.org

Re: Error message: invalid number of arguments in proxy_pass directive ...

2013-05-28 Thread Francis Daly
that match what proxy_pass expects? http://nginx.org/r/proxy_pass Can you guys please help me? Perhaps you just want to rm /etc/nginx/sites-enabled/default.save, and then make sure that your editor doesn't create backup files that match the include pattern in your nginx.conf? f -- Francis Daly

Re: using a proxied server as default_server

2013-05-31 Thread Francis Daly
can find the first point in what does happen that doesn't match what should happen, then you'll have a good hint as to where the problem is. Good luck, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: using a proxied server as default_server

2013-05-31 Thread Francis Daly
, or it might have a Host of 192.168.1.1. Either way, it is not what your tomcat expects (unless it is *also* the default server for connections to this address). And getting nginx to insert the Host header you want is one way to approach it. Cheers, f -- Francis Dalyfran...@daoine.org

Re: [LB]Bad root document set via proxy_pass

2013-06-01 Thread Francis Daly
. Good luck, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Weird issues with nginx

2013-06-15 Thread Francis Daly
using a map to set values to be used in limit_rate and limit_rate_after directives would avoid the if in location problem? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Re: Weird issues with nginx

2013-06-15 Thread Francis Daly
On Sun, Jun 16, 2013 at 01:01:37AM +0300, Vasil Kolev wrote: В 22:06 +0100 на 15.06.2013 (сб), Francis Daly написа: But in this case, that's probably unnecessary, since you already know that without the if statements, no problems appear. Perhaps using a map to set values to be used

Re: adding expires but not show up in headers

2013-06-19 Thread Francis Daly
? Thanks. What other location lines do you have for this server? Only one of them will be used for the request /images/sample.jpg. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org

Re: adding expires but not show up in headers

2013-06-19 Thread Francis Daly
{1})/(\d{2})/(.*\.jpg$) { location ~ ^/images/ { then the request for /images/sample.jpg will be handled in the second one. Which is not what you reported seeing. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx

Re: server name rewrite

2013-06-19 Thread Francis Daly
for that document. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Need some help with rewrite rule translation

2013-06-19 Thread Francis Daly
/demo { location ~* \.php$ { What one request do you make that does not return what you want? What does it return instead? Testing using curl -i is probably best, since you will see exactly what is returned. Enable the debug log and you might see why that is returned. f -- Francis Daly

Re: No MIME types

2013-06-22 Thread Francis Daly
it. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Trouble adding /pma location to all virtual hosts

2013-06-26 Thread Francis Daly
that meant that the location{}s you showed were not the chosen ones for the requests you made? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: adding query string to redirect ?

2013-07-01 Thread Francis Daly
your extra bit to start with ? or depending on the existence of $args or of $is_args, which you could do in a map. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Disable open_file_cache for a specific location

2013-07-02 Thread Francis Daly
will be a good start. Right now, I'm not sure what problem you are reporting. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Disable open_file_cache for a specific location

2013-07-03 Thread Francis Daly
to get and expect those things? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Disable open_file_cache for a specific location

2013-07-03 Thread Francis Daly
fixed it before I looked. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Disable access log escaping

2013-07-03 Thread Francis Daly
be easier for your log-reading code to unescape the four characters starting \x before further processing. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Perl/CGI on Nginx?

2013-07-08 Thread Francis Daly
how to handle the dynamic files; in that case you would configure nginx to proxy_pass to the external server. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Disable open_file_cache for a specific location

2013-07-08 Thread Francis Daly
the output of nginx -V, and include a very clear and specific: * I access *this* url. * I expect to see *this* output. * I actually see *this* output. and, if it is not immediately obvious: * the difference between the last two is *this*. Good luck with it, f -- Francis Daly

Re: Possible to overwrite a fastcgi_param later, once a location block has already been closed?

2013-07-10 Thread Francis Daly
On Tue, Jul 09, 2013 at 08:13:16PM -0400, Ben Johnson wrote: On 7/9/2013 5:47 PM, Francis Daly wrote: Hi there, That line must be within the location @php block, in order for it to do what you want. Okay; this means that I would need to modify the ISPConfig virtual host template

Re: Disable open_file_cache for a specific location

2013-07-10 Thread Francis Daly
a proper question. You're welcome; no worries. The more specific a problem report is, the more chance any mailing list has of finding the answer. All the best, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org

Re: migrating Topincs to nginx

2013-07-10 Thread Francis Daly
a better chance of putting in the rest of the configuration. Good luck with it, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: LDAP + Header Rewrite

2013-07-11 Thread Francis Daly
documentation say? I'd imagine that the information you want would be available in variables, possibly including $remote_user, if it is available at all. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: upstream timed out

2013-07-11 Thread Francis Daly
was written to disk. Not a problem, unless you don't expect the response to be that big. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: logs show massive spam of proxy.php access

2013-07-16 Thread Francis Daly
a config problem which leads to this cycle mentioned in your error log. There's no obvious mention of the proxy.php in your Subject: line, though. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: Reg: SCGI application running error in NGINX server

2013-07-16 Thread Francis Daly
long do you expect this request take to respond? How long did you configure nginx to wait for this request to respond? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo

Re: Webapps config doesn't work because of overridden by nginx

2013-07-18 Thread Francis Daly
probably be better off if you find out how to stop nabble breaking things, and then re-sending the full message. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Limit_rate for different resolutions !!

2013-07-20 Thread Francis Daly
One possibility: have your 720p video files and your 320p video files handled in different location{} blocks. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Limit_rate for different resolutions !!

2013-07-20 Thread Francis Daly
of files in different location{} blocks. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Location recursive downloads php files

2013-07-21 Thread Francis Daly
{} block is not used. To fix your configuration, you must put all of the configuration that you want to apply to a request, in the one location{} that handles that request. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx

Re: Limit_rate for different resolutions !!

2013-07-21 Thread Francis Daly
)$ { location ~ \.(mp4)$ { http://nginx.org/r/location What do your location lines up there mean? For each request you make, what one location is used? What happens if you add a location ~ -720\.mp4$ {} block at the end? And what happens if you instead add it at the start? f -- Francis

Re: Location recursive downloads php files

2013-07-21 Thread Francis Daly
and include it. http://nginx.org/r/include f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Limit_rate for different resolutions !!

2013-07-22 Thread Francis Daly
(()) around mp4 in the locations look unnecessary. But if it does what you want, it's good. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: proxy_pass via HTTP proxy

2013-07-22 Thread Francis Daly
-- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: cannot build variables_hash

2013-07-24 Thread Francis Daly
to change first; you changed that one; and the error state no longer applies. It looks perfect from here. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: listen directive

2013-07-25 Thread Francis Daly
, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Set default nginx-conf in sites-enabled?

2013-08-02 Thread Francis Daly
: What does the error log say? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Fwd: Adding a header to the status page output

2013-08-06 Thread Francis Daly
would seem to be simplest. You can always patch your source, if you can't find another way to do what you want. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Proxying with/without listen in server block

2013-08-14 Thread Francis Daly
in a server block, which is at http://nginx.org/r/listen The answer to your original question: Does having a listen directive in a server block over ride blocks without? is yes, if the listen directive is different from the default. f -- Francis Dalyfran...@daoine.org

Re: Piwik conf file

2013-08-20 Thread Francis Daly
or don't load the tracking code, but I want to force the Piwik dashboard to open in HTTPS. These words don't obviously directly translate to your config file snippet above. What request is the Piwik dashboard? What request is certain components? f -- Francis Dalyfran...@daoine.org

Re: Piwik conf file

2013-08-21 Thread Francis Daly
On Tue, Aug 20, 2013 at 04:05:09PM -0700, Paul N. Pace wrote: On Tue, Aug 20, 2013 at 2:44 PM, Francis Daly fran...@daoine.org wrote: On Mon, Aug 19, 2013 at 02:53:36PM -0700, Paul N. Pace wrote: Hi there, I am trying to set up a conf file for Piwik installations and I'm hoping a second

Re: Fake Basic Auth

2013-08-26 Thread Francis Daly
, whatever method you have to turn the certificate into a username can be opaque to nginx, so it can be as complicated as you like. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman

Re: How to serve PHP files outside the public folder?

2013-08-26 Thread Francis Daly
/ */ } } How should set this location to serve the files from outside the public folder? http://nginx.org/r/location Probably one of location ^~ /private/; or else location ~ /private/*.\php$ before your location ~ \.php$, should work. f -- Francis Dalyfran...@daoine.org

Re: How to serve PHP files outside the public folder?

2013-08-26 Thread Francis Daly
On Mon, Aug 26, 2013 at 11:12:15PM +0100, Francis Daly wrote: Probably one of location ^~ /private/; or else location ~ /private/*.\php$ before your location ~ \.php$, should work. That's ^/private/*\.php$, of course. Fat fingers... f -- Francis Dalyfran...@daoine.org

Re: VirtualDocumentRoot with 1.4.2

2013-08-27 Thread Francis Daly
on http user, so that's fine. +x doesn't allow you to create files in a directory. +w allows you to create files in a directory. I don't understand how I fix my problem. Does the error log give any indication of the problem? f -- Francis Dalyfran...@daoine.org

Re: Add country region in logs.

2013-08-28 Thread Francis Daly
. But it might make more sense to call it $continent_region, and let it take values for the whole world. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Fake Basic Auth

2013-08-31 Thread Francis Daly
should work in most similar cases; but the details will likely differ each time. All the best, f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: a regex for rewrite

2013-09-04 Thread Francis Daly
On Thu, Sep 05, 2013 at 01:05:17AM +0100, Francis Daly wrote: Hmm... location ~ ^/.*[/.] { That's probably more briefly written as location ~ .[/.] { f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org

Re: drupal clean urls

2013-09-08 Thread Francis Daly
expect nginx to do. But the blog - /blog change may be enough to get things going. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Secure permission structure for server blocks?

2013-09-10 Thread Francis Daly
are trying to prevent, and what you are not trying to prevent, then the solution may become clear -- or it may become clear that it is not possible. But any uncertainty or lack of clarity in the requirements will make it hard to confirm that the proposed solution is adequate. f -- Francis Daly

Re: Re[2]: Rewrite URL to only show value of $_GET argument

2013-09-10 Thread Francis Daly
needed to achieve it may become clear. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Re[2]: Rewrite URL to only show value of $_GET argument

2013-09-11 Thread Francis Daly
looking for? Building your own php framework, and making it work with nginx. If you search for how every other framework does this, you may find useful hints as to how your one will work. Good luck with it, f -- Francis Dalyfran...@daoine.org

Re: Problem with double slashes in urls with uwsgi and sockets

2013-09-12 Thread Francis Daly
from there will bring you to the merge_slashes directive. http://nginx.org/r/merge_slashes Set that to off if you want contiguous slashes in the request not to become a single slash in this server{} bock. f -- Francis Dalyfran...@daoine.org

Re: Nginx as an AUTH + proxy_pass in front of a mail server on the LAN; I'm missing something about passing the port #

2013-09-22 Thread Francis Daly
? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Nginx convert UTF8 request to ISO-8859-1

2013-09-24 Thread Francis Daly
or port 9 and curl http://localhost:8080/?key= followed by some bytes, I don't see any difference in the bytes in the to-8080 GET /?key= and the to-9 QUERY_STRINGkey= parts of the tcpdump output. What am I doing that is different to you? f -- Francis Dalyfran...@daoine.org

Re: configuration of 1000's entries

2013-09-27 Thread Francis Daly
for anything that should not match the pattern you have shown, such as /login.) All the alias lines you've shown look equivalent to a single root /var/www at server-level -- that might simplify things, depending on what else you plan to use the server for. f -- Francis Dalyfran

Re: Using add_header at server level context

2013-09-30 Thread Francis Daly
http://127.0.0.1:8080/one curl -i http://127.0.0.1:8080/two curl -i -H Surprise:value http://127.0.0.1:8080/one with what you expect to get. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http

Re: How to disable output buffering with PHP and nginx

2013-10-07 Thread Francis Daly
configuration you use, so that someone else can copy-paste it and see the same problem that you see. (Change 127.0.0.1:9009 to be whatever remote server runs your fastcgi server, if that makes it easier to run tcpdump.) Good luck with it, f -- Francis Dalyfran...@daoine.org

Re: limit_req for spiders only

2013-10-14 Thread Francis Daly
individually, or something else if you want to group some spiders together.) Then define limit_req_zone $is_spider zone=slow:10m ...; instead of what you currently have. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx

Re: Strange proxy_pass problem

2013-10-18 Thread Francis Daly
you expect it to? And, in case it is not clear, describe how what it does do is not what you expect. Best would probably be if you can show the curl -i or curl -v output. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx

Re: Which 404 file does nginx calls?

2013-10-20 Thread Francis Daly
On Sun, Oct 20, 2013 at 03:11:04PM -0400, agriz wrote: after adding error_page 404 /404.php it works for other files which are not php. It calls the error page. But if it is a php file, it shows File not found. http://nginx.org/r/fastcgi_intercept_errors f -- Francis Daly

Re: Authentication error or maybe it isn't? - no user/password was provided

2013-10-20 Thread Francis Daly
access the server via the LAN and my laptop. Probably not. Does the laptop via the internet show the same behaviour? f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo

Re: Expires headers for url rewrite rules

2013-10-21 Thread Francis Daly
request is handled in one location. Put all of the configuration that you want to apply to a request, within the one location{} block that handles that request. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx@nginx.org

Re: limit_req_zone: How to apply only to some requests containing some string in the URL?

2013-10-23 Thread Francis Daly
a different limit_req zone for each rate. After you've got the first part working, it shouldn't be too hard to set up a test system to see if you can get this part to work too. f -- Francis Dalyfran...@daoine.org ___ nginx mailing list nginx

Re: Passing / denying PHP requests

2013-10-23 Thread Francis Daly
$ {}, or it might be that nested inside location ^~ /installdirectory/ {} depending on what else you want in the server config. http://nginx.org/r/location for how the one location{} is chosen to handle a request. f -- Francis Dalyfran...@daoine.org

Re: proxy pass with rewrite

2013-10-25 Thread Francis Daly
On Fri, Oct 25, 2013 at 01:25:10PM +0200, Philipp Kraus wrote: Am 25.10.2013 um 10:01 schrieb Francis Daly fran...@daoine.org: Hi there, https://wiki.jenkins-ci.org/display/JENKINS/Jenkins+behind+an+NGinX+reverse+proxy looks like it may have useful information. I have used this how

  1   2   3   4   5   6   7   8   9   10   >