On Sun, Sep 13, 2009 at 4:54 AM, SE7EN<k1_zeus@yahoo.com> wrote: > Hi, phpmyadmin is installed in /usr/share/phpmyadmin and i have the > following vhost configuration file. How to configure phpmyadmin so i can > use: http://mydomain.com/phpmyadmin > > Thank you > > server { > Â listen 80; > Â server_name www.mydomain.com; > > Â #redirect www to non-www >by edogawaconan - Nginx Mailing List - English
On Thu, Sep 10, 2009 at 11:04 PM, <jim@ohlste.in> wrote: > That isn't the point and you know it. But in case you don't I'll make it > simple for you. Help or don't help but either way you don't need to be an > arrogant ass. > yes, he should've pointed to this instead http://www.catb.org/~esr/faqs/smart-questions.html -- O< ascii ribbon campaign - stop html mail - www.asciiby edogawaconan - Nginx Mailing List - English
On Mon, Sep 7, 2009 at 10:48 AM, afen<nginx-forum@nginx.us> wrote: > I try not into recursion > test.php > <? > $id=$_GET['id']; > if ($id==1){ > echo"1"; > }else{ > $html=@file_get_contents("http://localhost/test.php?id=1";); > } > ?> > > still error > it works here. <?php $id=$_GET['id']; if ($id==1){ echo"1";by edogawaconan - Nginx Mailing List - English
On Thu, Aug 20, 2009 at 7:37 PM, CactO_o's<nginx-forum@nginx.us> wrote: > Hi all, > > I test to rewrite the sub-domain in /etc/nginx/site-available/default and I would know if exist a function for add GET argument ? > > > For example : > > if( $host ~* "(.*)\.*\.{2,4}" ) > { > Â Â addGet sd $1; > } > > > This code add "?by edogawaconan - Nginx Mailing List - English
On Tue, Aug 25, 2009 at 8:51 PM, Edho P Arief<edhoprima@gmail.com> wrote: > 2009/8/25 Jérôme Loyet <jerome@loyet.net>: >> yes proof here: >> >> # /usr/local/oss/nginx-0.8.4/sbin/nginx -v >> nginx version: nginx/0.8.4 >> # ldd /usr/local/oss/nginx-0.8.4/sbin/nginx >>     linux-gate.so.1 =>  (0xb7f8c000) >>     libcby edogawaconan - Nginx Mailing List - English
2009/8/25 Jérôme Loyet <jerome@loyet.net>: > yes proof here: > > # /usr/local/oss/nginx-0.8.4/sbin/nginx -v > nginx version: nginx/0.8.4 > # ldd /usr/local/oss/nginx-0.8.4/sbin/nginx >     linux-gate.so.1 =>  (0xb7f8c000) >     libcrypt.so.1 => /lib/libcrypt.so.1 (0xb7f57000) >     libpcre.so.0 => /usr/lib/libpcre.so.0 (0xb7f46by edogawaconan - Nginx Mailing List - English
On Sat, Aug 22, 2009 at 12:42 PM, John Johnny<lists@ruby-forum.com> wrote: > okay sorry for the spamming LOL > > so I finally got most of the things worked. > I can do 192.168.1.101/test.html > > I compare the etc/nginx/nginx.conf  and > /etc/nginx/sites-enabled/default > > well pretty much i can say it is the problem with the fastcgi... > i cannot ruby edogawaconan - Nginx Mailing List - English
2009/8/21 Igor Sysoev <is@rambler-co.ru>: > On Thu, Aug 20, 2009 at 12:18:55PM -0400, vilts wrote: > >> Hi, >> >> Looks like it is trying to search that file from . >> >> 2009/08/20 16:14:49 Â 19796#0: *1 open() "/usr/local/nginx-passenger/html/favicon.ico" failed (2: No such file or directory) >> 2009/08/20 16:14:49 Â 19796#0: *2 oby edogawaconan - Nginx Mailing List - English
On Fri, Aug 14, 2009 at 4:52 AM, algorist<nginx-forum@nginx.us> wrote: > I haven't received any responses to this. > > Posted at Nginx Forum: http://forum.nginx.org/read.php?2,4903,4927#msg-4927 > > > I think you can post the patch here -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.orgby edogawaconan - Nginx Mailing List - English
On Thu, Aug 13, 2009 at 6:47 AM, meto<nginx-forum@nginx.us> wrote: > Somehow i managed to make this work: > > location / { > Â Â Â Â Â Â Â Â index index.html index.htm index.php; > > Â Â Â Â Â Â Â Â try_files $uri $uri/ @proxy_backend; > Â Â Â Â Â Â Â Â } > > > But i think that it should work with: > > location / { > Âby edogawaconan - Nginx Mailing List - English
2009/8/12 Juergen Gotteswinter <jg@internetx.de>: > but it loops :( > > heres the full part incl. ssl part > > >  server { >     listen  xxx:80; >     server_name *.xxx.com; > >     rewrite ^/(.*) https://login.xxx.com$request_uri permanent; >   } > > > > server { >  listen        xxxxx:4by edogawaconan - Nginx Mailing List - English
On Tue, Aug 11, 2009 at 3:55 PM, Artifex Maximus<artifexor@gmail.com> wrote: > On Tue, Aug 11, 2009 at 4:57 AM, Edho P Arief <edhoprima@gmail.com> wrote: >> >> On Tue, Aug 11, 2009 at 4:35 AM, Helgem Megelaat<lists@ruby-forum.com> >> wrote: >> >> http://pastebin.com/m7ffbc557 > > Just learning nginx tricks and found that there is noby edogawaconan - Nginx Mailing List - English
On Tue, Aug 11, 2009 at 4:35 AM, Helgem Megelaat<lists@ruby-forum.com> wrote: > Hi I tried launching a new site of mine the other night and it had > issues with the rewrite. > > So I was forced to pull my site offline and swap to an older version. > > Basically none of my directories would load, like /forums/ would give me > a 404 and /admin/ would but the rewrittby edogawaconan - Nginx Mailing List - English
On Thu, Aug 6, 2009 at 8:05 AM, Big Bet<lists@ruby-forum.com> wrote: > RewriteCond %{REQUEST_FILENAME} !-f > RewriteCond %{REQUEST_FILENAME} !-d > RewriteRule . plus.php > > how to change it for nginx ? > help me probably something like this try_files $uri @plus; location @plus { fastcgi_param SCRIPT_FILENAME $document_root/plus.php; .... .... }by edogawaconan - Nginx Mailing List - English
2009/8/5 Nuno Magalhães <nunomagalhaes@eu.ipp.pt>: > I know what rewrite is. If i have > domain.com/fileWithoutExtention/param1/param2/ can i parse it so that > my file receives the two params using regular expressions? This is > only one of the issues i'm trying to deal with. > > Can you recomend good PCRE links? > http://www.regextester.com/ probably someby edogawaconan - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 11:12 PM, Samuel Vogel<samydelux@gmail.com> wrote: > Am 29.07.09 17:39, schrieb Edho P Arief: >> >> 2009/7/29 Samuel Vogel<samydelux@gmail.com>: >> >>> >>> Doesn't seem to fix the problem either. My config now reads: >>> >>> server { >>>   listen  80; >>>   server_name Âby edogawaconan - Nginx Mailing List - English
2009/7/29 Samuel Vogel <samydelux@gmail.com>: > Doesn't seem to fix the problem either. My config now reads: > > server { >   listen  80; >   server_name  domain.de; > >   access_log  /var/log/nginx/domain.access.log; > >   location / { >     root  /var/www/domain/www; >     index  index.html index.php; >   }by edogawaconan - Nginx Mailing List - English
On Wed, Jul 29, 2009 at 9:03 PM, Samuel Vogel<samydelux@gmail.com> wrote: > Hey, > > I know this question has come up a couple of times, but the solutions posted > here do not seem to work for me! > Here is the important part of my configuration: > >   location ~ \.php$ { >     try_files  $uri  @404; > >     fastcgi_pass  unix:/varby edogawaconan - Nginx Mailing List - English
On Wed, Jul 22, 2009 at 3:01 PM, Jeff Waugh<jdub@bethesignal.org> wrote: > <quote who="Ian M. Evans"> > >> I have just a couple of small cgi programs that I use for some mail  admin >> functions. Barely ever use them. >> >> Is there a small footprint web server that could handle just those  pages? >> I guess I'd put it behind nginxby edogawaconan - Nginx Mailing List - English
how about you tell us what your currently working configuration is (.htaccess/rewrites, etc) as for php you can use either php-fpm or php-cgi+spawner/manager (supervisord, god, daemontools, spawn_fcgi, etc) as for caching, IIRC you don't need any special caching for static files (done by system)by edogawaconan - How to...
probably it's installed as extension and loaded by php.ini. Try locating the php.ini and tell php-cgi to load the fileby edogawaconan - How to...
or check if correct php.ini is loaded (see phpinfo() )by edogawaconan - How to...
On Sun, Jul 19, 2009 at 1:08 PM, Glen Lumanau<glen@lumanau.web.id> wrote: > Any fix for this please? > > what's the output on phpinfo()? -- O< ascii ribbon campaign - stop html mail - www.asciiribbon.orgby edogawaconan - Nginx Mailing List - English
On Sat, Jul 18, 2009 at 11:10 PM, Glen Lumanau<glen@lumanau.web.id> wrote: > Hi there, > > > > I have the same error like > http://forum.openx.org/index.php?s=235b643ebd3a9ef26ef16754b21b90f1&showtopic=503416093 > > > > May I know what value do I have to enter to fastcgi_params? Because i have > no clue > > > > Thank’s beforeby edogawaconan - Nginx Mailing List - English
ikutan absen ahby edogawaconan - Indonesian Forum
e123e123e123 Wrote: ------------------------------------------------------- > another question , > > using 'alias' or 'root' is bestter ? or all is > same ? location /myalias { root /path/to; } the directory name in filesystem must be same as the one specified in location (in this case /path/to/myalias) you can't make it work if you want location /anotheralias mapped tby edogawaconan - Nginx Mailing List - English
I think this is how I set up wordpress with rewrites server { listen 80; server_name myblog.com; index index.php; root /path/to/wordpress; try_files $uri /index.php; location ~ \.php$ { try_files $uri /index.php; fastcgi_pass 127.0.0.1:8000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME $request_filename; include fastcgi_params; } }by edogawaconan - How to...
what's the full config? does root specified in location / { } or in server { } ? If it's specified in location block (location / { root /path/to/root; }) then you need to set the root again. At any rate use try_files if you're using 0.6.37 or newerby edogawaconan - How to...
location ~ ^/aliaspath/(.*\.php)$ { alias /real/path/to/file/$1; fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; include fcgi.conf; fastcgi_param SCRIPT_FILENAME $request_filename; } location ~ ^/aliaspath($|/.*) { alias /real/path/to/file$1; } .php (or other non-static content) block should always be placed before the 'generic' blockby edogawaconan - How to...
2009/7/18 Igor Sysoev <is@rambler-co.ru>: > Â Â location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$ > >> since it has more priority. Look at >> http://wiki.nginx.org/NginxHttpCoreModule#location >> to see how nginx chooses location. >> >> You need something like this: This configuration actually works: http://pastebin.com/m5e7d322f even though itby edogawaconan - Nginx Mailing List - English