On Tue, Jun 16, 2009 at 10:06 PM, NoSync<nginx-forum@nginx.us> wrote: > This is the whole conf: > > nginx.conf: > > user www-data; > worker_processes 1; > > error_log /var/log/nginx/error.log; > pid /var/run/nginx.pid; > > events { > worker_connections 1024; > } > > http { > include /etc/nginxby edogawaconan - Nginx Mailing List - English
On Wed, Jun 17, 2009 at 10:35 AM, Edho P Arief<edhoprima@gmail.com> wrote: > On Wed, Jun 17, 2009 at 9:57 AM, Edho P Arief<edhoprima@gmail.com> wrote: >> How do I make this work? >> >> location ~ /~someapp(.*)$ { alias /home/someapp/root$1; try_files $uri >> /~someapp/err404.htm; } >> >> The try_files never catch the $uri (nor $1) and returby edogawaconan - Nginx Mailing List - English
2009/6/18 Igor Sysoev <is@rambler-co.ru>: > On Thu, Jun 18, 2009 at 03:13:43PM +0700, Edho P Arief wrote: > >> is there behavior difference between >> alias /home/$1/public_html/$2; >> and >> alias /home/$1/public_html$2; >> ? > > Yes, you are right. and that is...? -- O< ascii ribbon campaign - stop html mail - www.asciiribboby edogawaconan - Nginx Mailing List - English
2009/6/18 Igor Sysoev <is@rambler-co.ru>: > On Wed, Jun 17, 2009 at 11:37:58PM +0100, Jools Wills wrote: > >> I got an error >> >> the "alias" directive must use captures inside location given by regular >> expression in /etc/nginx/sites-enabled/default:70 >> >> Quite a confusing message for me. The line in question. >> >by edogawaconan - Nginx Mailing List - English
On Thu, Jun 18, 2009 at 1:43 PM, Jools Wills<buzz@exotica.org.uk> wrote: > On Thu, 2009-06-18 at 09:33 +0700, Edho P Arief wrote: > >> Try this >> >> http://blog.myconan.net/archives/1476 >> >> or if you prefer the old way, try this instead: >> >> http://blog.myconan.net/archives/1117 >> > > I'll take a look thanks. Undeby edogawaconan - Nginx Mailing List - English
On Thu, Jun 18, 2009 at 11:49 AM, Edho P Arief<edhoprima@gmail.com> wrote: > On Thu, Jun 18, 2009 at 11:46 AM, Edho P Arief<edhoprima@gmail.com> wrote: >> On Thu, Jun 18, 2009 at 11:42 AM, Edho P Arief<edhoprima@gmail.com> wrote: >>> On Thu, Jun 18, 2009 at 11:22 AM, Kevin >>> Castiglione<kevincastiglione@gmail.com> wrote: >>>> heby edogawaconan - Nginx Mailing List - English
On Thu, Jun 18, 2009 at 11:46 AM, Edho P Arief<edhoprima@gmail.com> wrote: > On Thu, Jun 18, 2009 at 11:42 AM, Edho P Arief<edhoprima@gmail.com> wrote: >> On Thu, Jun 18, 2009 at 11:22 AM, Kevin >> Castiglione<kevincastiglione@gmail.com> wrote: >>> hei guys >>> i want all urls to be re-written as follows: >>> >>> xx /host/by edogawaconan - Nginx Mailing List - English
On Thu, Jun 18, 2009 at 11:42 AM, Edho P Arief<edhoprima@gmail.com> wrote: > On Thu, Jun 18, 2009 at 11:22 AM, Kevin > Castiglione<kevincastiglione@gmail.com> wrote: >> hei guys >> i want all urls to be re-written as follows: >> >> xx /host/xx >> >> xx is the url full path, it should be written as /domain/xx where host is >> theby edogawaconan - Nginx Mailing List - English
On Thu, Jun 18, 2009 at 11:22 AM, Kevin Castiglione<kevincastiglione@gmail.com> wrote: > hei guys > i want all urls to be re-written as follows: > > xx /host/xx > > xx is the url full path, it should be written as /domain/xx where host is > the hostname. > > for example www.ABCD.COM > > /test?1 ---> /ABCD.COM/test?1 > is it possible to do tby edogawaconan - Nginx Mailing List - English
On Thu, Jun 18, 2009 at 5:37 AM, Jools Wills<buzz@exotica.org.uk> wrote: > I got an error > > the "alias" directive must use captures inside location given by regular > expression in /etc/nginx/sites-enabled/default:70 > > Quite a confusing message for me. The line in question. > > alias /home/$homedir/public_html/; > > which comes from >by edogawaconan - Nginx Mailing List - English
Is it possible to disallow/disable nginx from following symlink? -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.orgby edogawaconan - Nginx Mailing List - English
On Wed, Jun 17, 2009 at 9:57 AM, Edho P Arief<edhoprima@gmail.com> wrote: > How do I make this work? > > location ~ /~someapp(.*)$ { alias /home/someapp/root$1; try_files $uri > /~someapp/err404.htm; } > > The try_files never catch the $uri (nor $1) and returns 500 (redirection cycle) > > Am I 'forced' to use error_page in this case? > > This works: &by edogawaconan - Nginx Mailing List - English
How do I make this work? location ~ /~someapp(.*)$ { alias /home/someapp/root$1; try_files $uri /~someapp/err404.htm; } The try_files never catch the $uri (nor $1) and returns 500 (redirection cycle) Am I 'forced' to use error_page in this case? This works: location ~ /~someapp(.*)$ { alias /home/someapp/root$1; error_page 404 /~someapp/err404.htm; } and without regex the errorby edogawaconan - Nginx Mailing List - English
On Wed, Jun 17, 2009 at 2:19 AM, Per Jonsson<poj+nginx@lysator.liu.se> wrote: > dwatrous wrote: >> >> Thanks for the reply. This still isn't working. Here is my entire >> config file. As an initial test I've included only the C drive. >> >> worker_processes 1; >> >> events { >> worker_connections 1024; >> } &gby edogawaconan - Nginx Mailing List - English
On Wed, Jun 17, 2009 at 1:01 AM, dwatrous<dwatrous@aptina.com> wrote: > Thanks for the reply. This still isn't working. Here is my entire > config file. As an initial test I've included only the C drive. > > worker_processes 1; > > events { > worker_connections 1024; > } > > http { > include mime.types; > defauby edogawaconan - Nginx Mailing List - English
On Tue, Jun 16, 2009 at 10:17 PM, Edho P Arief<edhoprima@gmail.com> wrote: > 2009/6/16 Igor Sysoev <is@rambler-co.ru>: >> On Tue, Jun 16, 2009 at 10:59:19AM -0400, meal wrote: >> >>> Spasiba Igor, but it still no works, even if I moved rewrites to location like you proposed. Do you have any other ideas? >>> I think it's issue specified with my .hby edogawaconan - Nginx Mailing List - English
2009/6/16 Igor Sysoev <is@rambler-co.ru>: > On Tue, Jun 16, 2009 at 10:59:19AM -0400, meal wrote: > >> Spasiba Igor, but it still no works, even if I moved rewrites to location like you proposed. Do you have any other ideas? >> I think it's issue specified with my .html parsing.. Unfortunately, as I wrote, we cannot change this to other extension. > > Could yoby edogawaconan - Nginx Mailing List - English
On Fri, Jun 12, 2009 at 12:46 PM, kabs<nginx-forum@nginx.us> wrote: > > Thanks edogawaconan for your response. On first suggestion, could the process be dying because of the type of process manager am using? > > I did use your second suggestion of a cron, but sometimes the process just wont restart by command line even manually and the server would require a reboot to get theby edogawaconan - Php-fpm Mailing List - English
On Fri, Jun 12, 2009 at 10:47 AM, Edho P Arief<edhoprima@gmail.com> wrote: > On Fri, Jun 12, 2009 at 9:57 AM, kabs<nginx-forum@nginx.us> wrote: >> >> Hello every1 >> >> Here is story: I have nginx 0.7.35 on ubuntu 8.10 with fastcgi for php stuff. I installed the server by following this tutorial here http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-by edogawaconan - Php-fpm Mailing List - English
On Fri, Jun 12, 2009 at 9:57 AM, kabs<nginx-forum@nginx.us> wrote: > > Hello every1 > > Here is story: I have nginx 0.7.35 on ubuntu 8.10 with fastcgi for php stuff. I installed the server by following this tutorial here http://www.mensk.com/webmaster-toolbox/perfect-ubuntu-hardy-nginx-mysql5-php5-wordpress/. In fact the installation I have now is an upgrade from ubuntu 8.04by edogawaconan - Php-fpm Mailing List - English
I found this to be working. Should be faster than before but dunno. *shrugs* Or is there a better way doing this? I'm planning to replace my lighttpd installation with nginx using this config. server { listen 80; server mahleetserver.com; index index.php; client_max_body_size 3m; if ($uri ~ ^/~edho/blog) { set $err404 /~edho/blog/indexby edogawaconan - Nginx Mailing List - English
On Fri, May 29, 2009 at 9:07 AM, Ankur Gupta <ankur655@gmail.com> wrote: > Hello, > When trying to rewrite a URL like: /a/b to ?q=a&i=b > when a is something of the form "XYZ%26300" > > the rewritten URL becomes ?q=XYZ&300&i=b > Why does nginx unescape the URL on rewrite and how can this be avoided? > Thanks, > Ankur htby edogawaconan - Nginx Mailing List - English
On Tue, May 26, 2009 at 3:30 AM, Chris Wilson <lists@ruby-forum.com> wrote: > Is there a way to redirect and old domain to a new one, > > For instance, all I did was change domains, the structure is all still > the same. > > I just need to redirect xxxx.com to xxxy.com while still keeping the > structure of the incoming links as they remain in the same pace on theby edogawaconan - Nginx Mailing List - English
2009/5/22 Igor Sysoev <is@rambler-co.ru>: > On Fri, May 22, 2009 at 08:23:36AM +0700, Edho P Arief wrote: > >> 2009/5/22 Igor Sysoev <is@rambler-co.ru>: >> > On Thu, May 21, 2009 at 12:25:09PM -0400, APseudoUtopia wrote: >> > >> >> Hey everyone, >> >> >> >> This seems like it would be easily solved, but I'm not sby edogawaconan - Nginx Mailing List - English
2009/5/22 Igor Sysoev <is@rambler-co.ru>: > On Thu, May 21, 2009 at 12:25:09PM -0400, APseudoUtopia wrote: > >> Hey everyone, >> >> This seems like it would be easily solved, but I'm not sure how. I >> just finished setting up PHP on my system. It runs fine. However, when >> I browse to a page like >> "http://domain.com/this-php-script-dby edogawaconan - Nginx Mailing List - English
On Thu, May 21, 2009 at 11:25 PM, APseudoUtopia <apseudoutopia@gmail.com> wrote: > Hey everyone, > > This seems like it would be easily solved, but I'm not sure how. I > just finished setting up PHP on my system. It runs fine. However, when > I browse to a page like > "http://domain.com/this-php-script-does-not-exist.php" it returns "No > input fileby edogawaconan - Nginx Mailing List - English
On Thu, May 21, 2009 at 11:09 PM, Edho P Arief <edhoprima@gmail.com> wrote: > On Thu, May 21, 2009 at 10:50 PM, Brian Kirkbride > <brian.kirkbride@deeperbydesign.com> wrote: >> Hi all, >> >> I'm trying to switch us from LigHTTPD to NginX and have run into some >> issues. Any help is much appreciated. >> >> We use revisioned URLs to alby edogawaconan - Nginx Mailing List - English
On Thu, May 21, 2009 at 10:50 PM, Brian Kirkbride <brian.kirkbride@deeperbydesign.com> wrote: > Hi all, > > I'm trying to switch us from LigHTTPD to NginX and have run into some > issues. Any help is much appreciated. > > We use revisioned URLs to allow for far-future caching of resources (e.g. > http://example.com/r1234567890/site.css) and are having trouble gby edogawaconan - Nginx Mailing List - English
On Mon, May 4, 2009 at 8:05 AM, Mathew Davies <thepixeldeveloper@googlemail.com> wrote: > I guess I'll live with it for now. > The idea was to not repeat this data so it'd be easier to setup PHP on a > variety of domains without repetition. Maybe Igor can look at this as a new > feature request. > Thank You. you can also put the whole location block in a file then inby edogawaconan - Nginx Mailing List - English
On Wed, Apr 29, 2009 at 12:41 AM, Guy Naor <guy@mor.ph> wrote: > Hi, > > I didn't say it's better - it's EASIER. The reason it's easier is that the > mod_rails module is the one that actually manages the backend. That means > two major things: > > 1. You don't need to use mongrel_cluster or a FastCGI launcher > 2. When the app die for some reason, the module wby edogawaconan - Nginx Mailing List - English