On Fri, May 15, 2009 at 05:59:02PM +0200, Joe Bofh wrote: > Why would one use directio vs sendfile? Why would/should they be > mutually exclusive? The main sendfile advantage is that it uses pages of cached files. directio disables file caching. This example should be corrected as sendfile on; directio 4m; Then files up to 4M would have good chances to be cachedby Igor Sysoev - Nginx Mailing List - English
On Fri, May 15, 2009 at 07:29:57AM +0200, Joe Bofh wrote: > Igor, > > Sure. But the question is how long will the entry stay in the cache? If > it's a fairly finite amount of time, the possibility of a collision > drops dramatically. A cache entry may stay for years :) > I was suggesting murmurhash as it is significantly faster than md5/sha1 > and for somethiby Igor Sysoev - Nginx Mailing List - English
On Fri, May 15, 2009 at 10:27:02PM -0400, sbwoodside wrote: > I prefer to not use one-liner in blocks as above since it does not allow to > comment out some servers. > > Yes... in this case I'll never be commenting out just one that I can think of, because it's a cluster started by cap. > > location / { > try_files $uri $uri/index.html $uri.html @mongrel; > } &by Igor Sysoev - Nginx Mailing List - English
On Fri, May 15, 2009 at 11:38:34AM -0700, Cliff Wells wrote: > On Fri, 2009-05-15 at 13:09 -0500, AMP Admin wrote: > > Cliff, what did your Core SEF for Joomla! from .htaccess look like after > > converting to nginx? > > This is all I used: > > http://wiki.nginx.org/NginxJoomla This location / { expires 30d; error_page 404 = @joomla; loby Igor Sysoev - Nginx Mailing List - English
On Fri, May 15, 2009 at 12:48:28AM -0700, Cliff Wells wrote: > On Fri, 2009-05-15 at 09:19 +0400, Igor Sysoev wrote: > > On Thu, May 14, 2009 at 05:36:15PM -0700, Cliff Wells wrote: > > > > > On Thu, 2009-05-14 at 20:24 -0400, jemari wrote: > > > > Hi everyone, > > > > > > > > I am setting up a small VPS. My plan is to have ngiby Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 02:58:44PM -0700, Chris Cortese wrote: > Hi, > > Problem is I'm only having the problem on Windows--where I'm using the > prebuilt Windows binary. > > Is there any way to get a current Windows binary that is built with > debug on? Sorry, I've missed that we talking about nginx/Windows. It's already built --with-debug. > Thanks, &by Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 05:36:15PM -0700, Cliff Wells wrote: > On Thu, 2009-05-14 at 20:24 -0400, jemari wrote: > > Hi everyone, > > > > I am setting up a small VPS. My plan is to have nginx as a reverse > > proxy to apache2 (running with mod-php). All other static files will > > be served by nginx. > > > > Does anyone know if there would beby Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 06:33:59PM -0700, Chris Cortese wrote: > I finally found the solution to my problem with getting 404 on static > assets (/images, /js, /css). > > Not sure how I missed it before but I saw the problem in the error log > now. Basically I was not understanding that the root path needed to be > relative to the location of the nginx.exe (c:\nginx\by Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 01:39:26PM -0700, Michael Shadle wrote: > On Thu, May 14, 2009 at 12:32 PM, Maxim Dounin <mdounin@mdounin.ru> wrote: > > > As of now nginx has no variables expanded during config loading - > > everything expaneded during request processing.by Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 09:38:49PM +0700, Denis F. Latypoff wrote: > Hello Claude, > > Thursday, May 14, 2009, 9:23:55 PM, you wrote: > > > Hello! I have a question. > > > I'm trying to set up Nginx to forward my old domain to my new domain. > > waterfortheoppressed.com => wfto.cc. But I not only need it to forward it, > > I need the persoby Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 07:52:21AM -0400, shaktale wrote: > Hi again, > > If anyone is still interested, finally I have changed the following: > > > location / { > # If the file exists as a static file serve it directly without > # running all the other rewite tests on it > if (-f $request_filename) { > expires max; > break;by Igor Sysoev - Nginx Mailing List - English
On Thu, May 14, 2009 at 06:38:48AM -0400, lblasc wrote: > No luck with rewrite for w2box. Can I get some help with this ? > > apache .htaccess : > > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{QUERY_STRING} ^$ > RewriteRule ^(.*)$ index.php?d=$1&BAD_HOSTING=%{HTTP:Authorization} > > RewriteCond %{REQUESby Igor Sysoev - Nginx Mailing List - English
On Wed, May 13, 2009 at 11:18:39PM -0500, AMP Admin wrote: > Oh and one more please!!! > > DirectoryIndex index.php > > <FilesMatch "\.(php|inc)$"> > Order allow,deny > deny from all > </FilesMatch> > <FilesMatch "(index.php|dl.php|ut.php|lt.php|download.php)$"> > Order allow,deny > allow from all > </Fileby Igor Sysoev - Nginx Mailing List - English
On Wed, May 13, 2009 at 11:13:21PM -0500, AMP Admin wrote: > Moving another apache server to nginx :) > > Can I get some help with this rewrite?? > > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteCond %{REQUEST_URI} !^/index.php > RewriteCond %{REQUEST_URI} (/|\.php|\.html|\.htm|\.feed|\.pdf|\.raw|/[^.]*)$ > RewriteRulby Igor Sysoev - Nginx Mailing List - English
On Wed, May 13, 2009 at 11:42:25AM -0400, Jim Ohlstein wrote: > > > Igor Sysoev wrote: > >On Wed, May 13, 2009 at 10:59:13AM -0400, Jim Ohlstein wrote: > > > > > >>Igor Sysoev Wrote: > >>------------------------------------------------------- > >> > >>>On Wed, May 13, 2009 at 12:06:33AM -0400, Jim > >>&by Igor Sysoev - Nginx Mailing List - English
On Wed, May 13, 2009 at 10:59:13AM -0400, Jim Ohlstein wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Wed, May 13, 2009 at 12:06:33AM -0400, Jim > > Ohlstein wrote: > > > > > Igor Sysoev Wrote: > > > > > -------------------------------------------------- > > ----- > > > > Onby Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 12:07:10PM -0700, Michael Shadle wrote: > neither of these work. it only takes the first $port, the second one is ignored > > set $port 11019; > root /home/foo/web/bar.com; > include /etc/nginx/expires.conf; > include /etc/nginx/confs/phpmyadmin.conf; > location /sby Igor Sysoev - Nginx Mailing List - English
On Wed, May 13, 2009 at 12:06:33AM -0400, Jim Ohlstein wrote: > Igor Sysoev Wrote: > ------------------------------------------------------- > > On Sat, May 09, 2009 at 03:02:53PM -0400, Jim > > Ohlstein wrote: > > > > > Is there any way to set the it just to cache > > image and other media files, but not text/html? I > > only see based on reby Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 09:45:03AM -0600, Jon Garvin wrote: > Igor Sysoev wrote: > > On Tue, May 12, 2009 at 08:54:50AM -0600, Jon Garvin wrote: > > > > > >> Thanks Igor, > >> Are you saying that a single instance Nginx cannot handle multiple > >> sites with different SSL certificates? The environment I'm trying to > >> emulby Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 08:54:50AM -0600, Jon Garvin wrote: > Thanks Igor, > Are you saying that a single instance Nginx cannot handle multiple > sites with different SSL certificates? The environment I'm trying to > emulate is working just fine with Pound right now. In other words, one > instance of pound is running on my server that handles multiple SSL > certificaby Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 10:38:04AM +0200, J?r?me Loyet wrote: > Hello igor, > > I have a question about the cache behaviour in proxy mode. > > I have nginx in front head which redirect to an apache back end. Nginx > caches eveything for M minutes. > > If I have a large number of requests for the same page and this page > is cached : nginx returns the cachedby Igor Sysoev - Nginx Mailing List - English
Changes with nginx 0.7.57 12 May 2009 *) Bugfix: a segmentation fault occurred in worker process, if the ngx_http_image_filter_module errors were redirected to named location; the bug had appeared in 0.7.56. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 03:56:32AM -0400, ?????? wrote: > btw:you should learn more foreign languages. for better use of nginx, i even had self-russian Learing foreign languages is certainyl good thing. However, if you believe that anyone may translate your responses via translate.google.com, you made mistake: its translation quality is poor. -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 03:29:29AM -0400, digitala wrote: > Not yet - I was going to play with setting "xslt_types process/xml;" and have my fastcgi app return that content type, but I would've preferred to be able to set a processing instruction to allow separation of stylesheets into "logged out"/"logged in" sets. > > Igor; is the functionality for paby Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 12:16:25AM -0700, Chris Cortese wrote: > thanks... > > it seems for me I just cannot trigger anything in that block. > > Anybody see anything wrong? > > Can there be a good way to debug which location directive is processing?? > > location ~ (jpg|jpeg|gif|png)$ { > root c:/cygwin/home/Chris/www/live/jobsite/trunk/html/publicby Igor Sysoev - Nginx Mailing List - English
On Sat, May 09, 2009 at 03:02:53PM -0400, Jim Ohlstein wrote: > Is there any way to set the it just to cache image and other media files, but not text/html? I only see based on response in the Russian docs (best as I can understand). Is that something that can be added or is planned? No, currently nginx can not cache using content-type, but it can be easy added. Also you may use locationby Igor Sysoev - Nginx Mailing List - English
On Tue, May 12, 2009 at 03:58:31AM +0000, Claude wrote: > Trying to write a rewrite rule that will transform this url > http://external_site.com/login?back_url=http%3A%2F%2Finternal_url%2F > to this one > http://external_site.com/login?back_url=http%3A%2F%2Fexternal_site.com%2F > > I know I need to play with arguments and rewrite but I'm stuck. Redirection rewriteby Igor Sysoev - Nginx Mailing List - English
On Mon, May 11, 2009 at 09:36:22PM -0700, Chris Cortese wrote: > thanks, I thought about that but the root path is working fine for the > .php ... just not the /public/css, /public/images, /public/js ... location ~ (jpg|jpeg|gif|png)$ { root c:/cygwin/home/Chris/www/live/jobsite/trunk/html/public; } If php is cygwin application it requires cygwin style paths "/cygwin/by Igor Sysoev - Nginx Mailing List - English
On Mon, May 11, 2009 at 11:56:23PM -0400, ?????? wrote: > ??????ipv6?????????????????? This is English only mailing list. > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,1900,1923#msg-1923 -- Igor Sysoev http://sysoev.ru/en/by Igor Sysoev - Nginx Mailing List - English
On Sun, Apr 19, 2009 at 07:54:34AM -0700, Michael Nachbaur wrote: > On 17-Apr-09, at 11:22 AM, Igor Sysoev wrote: > > >On Wed, Apr 15, 2009 at 12:26:15PM -0700, Michael Nachbaur wrote: > > > >>On 15-Apr-09, at 11:17 AM, Igor Sysoev wrote: > >> > >>>On Wed, Apr 15, 2009 at 10:10:07AM -0700, Michael Nachbaur wrote: > >>> > &gby Igor Sysoev - Nginx Mailing List - English