Re: redirect question (inception inside)

2014-08-16 Thread Ronald Van Assche
YEP thank you : > The matching is performed against a normalized URI, after decoding the text > encoded in the “%XX” form, resolving references to relative path components > “.” and “..”, and possible compression of two or more adjacent slashes into a > single slash. so i do not have to put //

Re: redirect question (inception inside)

2014-08-16 Thread Ronald Van Assche
NICE : it works more complicated one : /ue//ue/data/filename => /ue/data/filenam there is 2 / in the URL. location ^~ /ue//ue/ { rewrite ^/ue(/ue/.*) $1 permanent; } does not work :o( Le 16 août 2014 à 10:52, Edho Arief a écrit : >> > location ^~ /us/us/ { > rewr

redirect question (inception inside)

2014-08-16 Thread Ronald Van Assche
I want to redirect /us/us/directory/filename to the /us/directory/filename directory on my Nginx server. but this if ( $request_filename ~ /us/us/.+ ) { rewrite ^(.*) http://mysiteurlt/us/$1 permanent; } wont work. How can i redirect or rewrite such url ? _

Microcache : empty pages ?

2014-08-13 Thread Ronald Van Assche
I have somme strange comportement on nginx 1.7.4 / Freebsd 9 : Some Wordpress microcached pages rendered ..EMPTY HTML pages , for about 1/20 visitors . When it happens, we have to make a forced reload of the page on the navigator (Firefox or others). configure arguments: --prefix=/usr/local/etc

Re: nginx-1.6.0

2014-04-25 Thread Ronald Van Assche
no Freebsd port ? Thanks. Le 24 avr. 2014 à 15:14, Maxim Dounin a écrit : > Changes with nginx 1.6.0 24 Apr 2014 > >*) 1.6.x stable branch. > > > -- > Maxim Dounin > http://nginx.org/en/donation.html > > __

Re: blank page on some micro-cached pages

2013-11-25 Thread Ronald Van Assche
> Hello! > > On Mon, Nov 25, 2013 at 04:47:04PM +0100, Ronald Van Assche wrote: > >> It seems related to every update on a post and the use of the WP plugin >> Nginx-Helper > > From a description of the plugin, it looks like it is expected to > work with 3r

Re: blank page on some micro-cached pages

2013-11-25 Thread Ronald Van Assche
HTML, like Gecko) Chrome/31.0.1650.57 Safari/537.36" "-" Le 25 nov. 2013 à 16:47, Ronald Van Assche a écrit : > It seems related to every update on a post and the use of the WP plugin > Nginx-Helper > > if i add $upstream_cache_status to the log format , nothing

Re: blank page on some micro-cached pages

2013-11-25 Thread Ronald Van Assche
2AM +0100, Ronald Van Assche wrote: > >> Running Nginx 1.5.7 on Freebsd 9.1 >> with php-pfm 5.5.3 >> >> a wordpress site is "micro-cached" , but for some strange reason >> and not always , some pages ( wordpress post or pages even 3 or >> 7 days afte

blank page on some micro-cached pages

2013-11-23 Thread Ronald Van Assche
Running Nginx 1.5.7 on Freebsd 9.1 with php-pfm 5.5.3 a wordpress site is "micro-cached" , but for some strange reason and not always , some pages ( wordpress post or pages even 3 or 7 days after their publication) are rendered for some users ( me and others and not always the same, with diffe

Re: nginx cache opendir failed

2013-05-20 Thread Ronald Van Assche
the web server? That's who you need to set > access up for. > > Steve > > > On 20/05/13 21:10, Ronald Van Assche wrote: >> SOLVED: >> >> Just chmod ( 4 seven) /var/cache/www , the parent directory of the >> nginx cache and voilà, it works. >>

Re: nginx cache opendir failed

2013-05-20 Thread Ronald Van Assche
SOLVED: Just chmod ( 4 seven) /var/cache/www , the parent directory of the nginx cache and voilà, it works. Le 19 mai 2013 à 17:51, Ronald Van Assche a écrit : > Hi > > On a Freebsd 9.1 machine > Nginx 1.4.1 > > opendir() "/var/cache/www/nginx2" f

nginx cache opendir failed

2013-05-19 Thread Ronald Van Assche
Hi On a Freebsd 9.1 machine Nginx 1.4.1 opendir() "/var/cache/www/nginx2" failed (13: Permission denied) microcache dir : drwxr-x--x 3 root wheel 512 May 19 17:05 /var/cache drwxr-xr-x 3 www www 512 May 19 17:06 /var/cache/www drwx-- 2 www www 512 May 19 17:06 nginx2 How to corre