On Wed, Apr 14, 2010 at 12:47:32AM -0400, rmir wrote: > Доброго времени суток. > > Имеется Ubuntu 9.04. Хочется скомпилировать последний nginx из стабильной ветки. взял 0.7.65 > > > ./configure --with-pcre=/usr/lib > > С этим всё хорошо. После делаю make > полуby Igor Sysoev - Nginx Mailing List - Russian
On Thu, Apr 08, 2010 at 06:37:00AM -0400, acer wrote: > вообщем цель такая: > > есть урл вида /link1/link2/ > > так вот надо чтобы nginx проверял существование файла /cache/html//link1/link2.html > > но при этом link1 и link2 динамические, содержащие буквы латинby Igor Sysoev - Nginx Mailing List - Russian
On Wed, Apr 07, 2010 at 07:30:22PM +1000, Leonardo Crespo wrote: > Just curious, > > Why the {} in ${uri}index.php and not in $uri.php? > > I'm assuming it's to identify uri as a keyword, but wouldn't it be > necessary on the $uri.php as well? You may use ${uri}.php, but "." means already the end of keyword. > On Wed, Apr 7, 2010 at 7:26 PM, Leonardo Crespo <by Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 07:26:31PM +1000, Leonardo Crespo wrote: > I can't make sense of those 2. > > > try_files $uri.php ${uri}index.php =404; > > This means: if the uri is xxx, try to serve xxx.php. If you can't, > try serving xxxindex.php. If you can't still, return 404. Yes. Note, that ${uri}index.php is for "xxx/", i.e. "xxx/index.php". > &gby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 07:10:42PM +1000, Leonardo Crespo wrote: > Hi Edho, thanks. > > Igor mentioned i should keep this to avoid serving php as static files. > > location ~ \.php$ > { > fastcgi_pass 127.0.0.1:9000; > fastcgi_intercept_errors on; > fastcgi_index index.php; > include /usr/local/nginx/conf/fastcgi_params; > fastcgi_param SCRIPT_FILENAMby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 06:58:19PM +1000, Leonardo Crespo wrote: > Wow, very elegant Igor. Thank you, it works beautifully. > > Could you help with the last bit? > > I'd like to return 404 if the user tries /foo/page.php instead of /foo/page location ~ \.php$ { return 404; } > I read the nginx wiki for try_files > (http://wiki.nginx.org/NginxHttpCoreModule#try_files)by Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 03:50:47PM +0700, Edho P Arief wrote: > 2010/4/7 Igor Sysoev <igor@sysoev.ru>: > > location / { > > try_files $uri $uri.php $uri/ =404; > > > > fastcgi_pass 127.0.0.1:9000; > > fastcgi_intercept_errors on; > > fastcgi_index index.php; > >by Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 06:24:36PM +1000, Leonardo Crespo wrote: > Hi all! > > Can anyone with more experience give me hand? I've spent the last 4 > hours trying many options and none of them worked, so I decided to ask > for help. > > What i'm trying to do: > /foo/bar/page served by /foo/bar/page.php > > This one is working fine, as I can remove the.php extensby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 10:47:36AM +0400, Sergey A. Osokin wrote: > Привет, Игорь. > > При сборке с openssl 1.0 (из портов) возникает вот такой warning. > > cc -c -pipe -g -DNGX_DEBUG_MALLOC -g -I /usr/local/include -I src/core > -I src/event -I src/event/modules -I src/os/unix -I objs -o > objs/src/event/ngx_event_openssl.oby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 12:05:07PM +0400, Igor Sysoev wrote: > On Wed, Apr 07, 2010 at 12:25:37AM -0700, Chris Cortese wrote: > > > Hello, > > > > I've been using nginx for 1.5 years now with about 10 or so CodeIgniter > > sites, but apparently I still haven't mastered the rewrite stuff. > > > > With the CodeIgniter stuff (and Igor's help), I never haby Igor Sysoev - Nginx Mailing List - English
On Wed, Apr 07, 2010 at 12:25:37AM -0700, Chris Cortese wrote: > Hello, > > I've been using nginx for 1.5 years now with about 10 or so CodeIgniter > sites, but apparently I still haven't mastered the rewrite stuff. > > With the CodeIgniter stuff (and Igor's help), I never had to use the > "rewrite" command at all. > > Anyway, now I need to translate theby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 11:33:49PM +0400, Maxim Dounin wrote: > Hello! > > On Tue, Apr 06, 2010 at 10:13:10PM +0400, Igor Sysoev wrote: > > > On Tue, Apr 06, 2010 at 03:23:07PM +0200, Simon Lécaille wrote: > > > > > Hi all, > > > > > > Because I need it, I add the unix socket support to Mail Auth Module. > > > Now if nginx mail authby Igor Sysoev - Nginx Development
On Tue, Apr 06, 2010 at 03:23:07PM +0200, Simon Lécaille wrote: > Hi all, > > Because I need it, I add the unix socket support to Mail Auth Module. > Now if nginx mail auth module receives Auth-Server containing a sock > path e.g : > > HTTP/1.0 200 OK > Auth-Status: OK > Auth-Server: /tmp/cyrus.sock > Auth-Port: > Auth-User: user@domain.tld > Auth-Pass: paby Igor Sysoev - Nginx Development
On Tue, Apr 06, 2010 at 06:20:45PM +0400, Maxim Dounin wrote: > > + > > + /* AF_UNIX */ > > + port = 0; > > + struct sockaddr_un *sun; BTW, just for future reference - this code fails on Solaris with the following strange message: error: expected identifier or '(' before numeric constant because Solaris defines "sun" as number to indicate Solarisby Igor Sysoev - Nginx Development
On Tue, Apr 06, 2010 at 04:38:09PM +0400, Boris Dolgov wrote: > 2010/4/6 Igor Sysoev <igor@sysoev.ru>: > > On Tue, Apr 06, 2010 at 03:56:33PM +0400, Борис Долгов wrote: > >> 2010/4/6 Igor Sysoev <igor@sysoev.ru>: > >> > Now this warning will always be issued on Linux: nginx has to use > >> > sys_errlist[]/sys_nerr because both strerby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 04:17:01PM +0400, Maxim Dounin wrote: > Hello! > > On Tue, Apr 06, 2010 at 03:46:33PM +0400, Igor Sysoev wrote: > > > On Tue, Apr 06, 2010 at 02:06:39PM +0300, Reinis Rozitis wrote: > > > > > > Looks like you are compiling nginx without http cache. > > > > Try to apply the attached patch. > > > > > > Corby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 03:56:33PM +0400, Борис Долгов wrote: > 2010/4/6 Igor Sysoev <igor@sysoev.ru>: > > Now this warning will always be issued on Linux: nginx has to use > > sys_errlist[]/sys_nerr because both strerror() and strerror_r() are not > > signal safe. > Do you think if it is a good idea to use deprecated elements in nginx? > Maybe, it is bby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 02:06:39PM +0300, Reinis Rozitis wrote: > > Looks like you are compiling nginx without http cache. > > Try to apply the attached patch. > > Correct and the patch fixed this issue ( as it looked some unrelated module didnt provide the full configure line > '--prefix=/data/nginx --with-http_image_filter_module --with-http_stub_status_module --with-httpby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 12:34:57PM +0200, Anna Malova wrote: > Igor Sysoev wrote: > > On Tue, Apr 06, 2010 at 12:24:03PM +0200, Anna Malova wrote: > > > >> >> same unhandled win32 exception in nginx.exe[3480] after checking the > >> Thank you for the reply! I have Windows XP SP2. I changed nginx to the > >> older version - the last stable from thby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 12:24:03PM +0200, Anna Malova wrote: > Maxim Dounin wrote: > > Hello! > > > > On Tue, Apr 06, 2010 at 11:46:25AM +0200, Anna Malova wrote: > > > >> > This bug has been fixed in 0.8.34: > >> > >> I put the ssl_session_cashe parameter to shared:SSL:10m; and certificate > >> was ok, no errors in log file, bby Igor Sysoev - Nginx Mailing List - English
On Tue, Apr 06, 2010 at 08:50:26AM +0200, Anna Malova wrote: > Igor Sysoev wrote: > > On Tue, Feb 23, 2010 at 06:35:54PM +0900, Zev Blut wrote: > > > >> >>> reset to Firefox and generates this error: > >> >> 2010/02/23 16:02:19 7224#0: *46254 SSL_do_handshake() failed > >> listen 443; > >> > >> sslby Igor Sysoev - Nginx Mailing List - English
On Mon, Apr 05, 2010 at 03:32:02PM +0400, Vladimir Rusinov wrote: > On 04/05/2010 03:16 PM, unnamed wrote: > > Возможно ли приучить nginx к типу ссылок "Путь"? > > Т.е. чтобы nginx понимал ссылки вида "index.php/..." а не "index.php?/..." > > Метод решения не важен. Гby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 05:57:18PM +0400, Михаил Монашёв wrote: > Здравствуйте, Игорь. > > IS> Возможно, для кого-то это не новость, но я лишь недавно обратил внимание > IS> на то, что в 8ке входящий TCP/IP может обрабатываться несколькими >by Igor Sysoev - Nginx Mailing List - Russian
Возможно, для кого-то это не новость, но я лишь недавно обратил внимание на то, что в 8ке входящий TCP/IP может обрабатываться несколькими процессорами. В /boot/loader.conf: # 2 процессора net.isr.maxthreads=2 # привязка netisr thread'ов к процессорby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 04:09:11PM +0300, Vladimir Getmanshchuk wrote: > # gdb -c /spool/core/nginx.core.41698 /usr/local/sbin/nginx А можно собарть без nginx_uploadprogress_module ? -- Игорь Сысоев http://sysoev.ru _______________________________________________ nginx-ru mailing list nginx-ru@nginx.org http://nginx.org/mailman/listinfo/nginx-ruby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 04:31:27PM +0400, Viatcheslav E. Kouznetsov wrote: > Может имеет смысл поправить вызов ./config для openssl... > Там с версии 0.9.8m добавили параметр -libdir > Changes between 0.9.8l and 0.9.8m [25 Feb 2010] > *) Add support for --libdir option and LIBDIR variable in makefiles. This > makes it pby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 04:27:53PM +0400, Maxim Dounin wrote: > Hello! > > On Fri, Apr 02, 2010 at 04:03:18PM +0400, Igor Sysoev wrote: > > > On Fri, Apr 02, 2010 at 03:52:41PM +0400, Eugene Toropov wrote: > > > > > RHEL5: Linux 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 > > > x86_64 x86_64 GNU/Linux > > > > А прилby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 03:52:41PM +0400, Eugene Toropov wrote: > RHEL5: Linux 2.6.18-164.11.1.el5 #1 SMP Wed Jan 6 13:26:04 EST 2010 x86_64 > x86_64 x86_64 GNU/Linux А прилагаемый патч помогает ? > Евгений > jt@aaanet.ru > > > > On Fri, Apr 02, 2010 at 03:08:49PM +0400, Eugene Toropov wrote: > > > >> Добрый деньby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 03:08:49PM +0400, Eugene Toropov wrote: > Добрый день, > > [********** nginx-0.7.65]$ ./configure --user=nobody --group=www --without-poll_module --without-select_module --with-http_stub_status_module --without-http_fastcgi_module --without-mail_pop3_module --without-mail_imap_module --without-mail_smtp_module --with-pcre=../pcre-8.02 --add-module=../ngby Igor Sysoev - Nginx Mailing List - Russian
On Fri, Apr 02, 2010 at 02:04:37AM -0700, Quan Zhou wrote: > I've changed the address to, but it works the same, I wonder how > proxy_pass works, I guess it's working in IPv4 in my case. Please respond to the list nginx@nginx.org, but not to me. Could you create debug log of request ? -- Igor Sysoev http://sysoev.ru/en/ > 从我的 Windows(R) phone 发送。 > > ----- 原始by Igor Sysoev - Nginx Mailing List - English
![]() |
![]() |
![]() |
![]() |
|