Show all posts by user
Introduce yourselves
yacenty Wrote:
-------------------------------------------------------
> Helo how to do nginx rewrite rule for such apache
> statement?
>
>
> RewriteEngine On
> RewriteBase /cseo/
> RewriteCond %{REQUEST_FILENAME} !-f
> RewriteCond %{REQUEST_FILENAME} !-d
> RewriteRule . /cseo/index.php
>
>
> thanks in advance
> BR
> YacentY
If you a
by
Jim Ohlstein
-
How to...
Try
rewrite ^/(.*)?sitemap.xml /wp-content/sitemap.php break;
or
rewrite ^/(.*)?sitemap.xml /wp-content/sitemap.php last;
Both may work but I suspect the latter one is more likely to do so.
by
Jim Ohlstein
-
How to...
I'm fairly familiar with CGIProxy though not with your wrapper script. I run several sites with a fairly "vanilla" installation using fcgiwrap from Grzegorz Nosek and unix sockets. I'm guessing the issue is with your wrapper and its rewrites as the default CGIProxy (2.1 beta19 if I recall correctly) works pretty much out of the box with a simple configuration and no rewrites. I'm hardly
by
Jim Ohlstein
-
How to...
jason_wang Wrote:
>
>
> I am sorry! I see your answer and I do it ,but I
> don't see anything.
> this is my config file bellow:
> worker_processes 1;
> events {
> worker_connections 1024;
> use epoll;
> }
>
> http {
> include mime.types;
> default_type application/octet-stream;
> sendfile on;
>
by
Jim Ohlstein
-
How to...
miradev Wrote:
> PS: Forum is a little wrap-happy!
That's by design as our busiest area is the mailing list interface and that type of quoting is necessary for mailing list conventions. This forum software lets you chose one type of quoting for the entire site so that's the way it is.
by
Jim Ohlstein
-
How to...
When you say "it doesn't work" what are you actually seeing? Is there an error message? I see a "nothing found" message but then I had no cookies to clear. I was able to navigate to a site via the proxy though your adserver promptly navigated me away from that page and to another, and if I hit the "back" button I was re-directed again - to me this is a bigger problem
by
Jim Ohlstein
-
How to...
Yaxm Yaxm wrote:
> I have this setup: nginx => haproxy => thin( a ruby http server )
> when in maintenance mode(serving a maintenance page to end users), how
> can I still access the web server so that I can do some testing first?
>
> I want to be able to access the server via the same domain.
>
> maybe set some magic cookie? or pass through requests from a partic
by
Jim Ohlstein
-
Nginx Mailing List - English
miradev Wrote:
-------------------------------------------------------
> Is it as simple as doing this:
>
> try_files /system/maintenance.html $uri $uri/
> /index.php?q=$uri&$args;
>
> In which case I have been flummoxed by the
> simplicity of this beautiful daemon :)
>
> Seems to be working for me.
Good deal. What happens if you request a non-exist
by
Jim Ohlstein
-
How to...
What rewrites have you tried?
by
Jim Ohlstein
-
How to...
Andrea Wrote:
-------------------------------------------------------
> Hello, i hope someone can help me:
>
> In my applications i have a subdomains for each of
> my clients, like this:
>
> client1.myapp.com
> client2.myapp.com
> client3.myapp.com
> etc etc
>
> Now, i want to associate the subdomains that my
> clients have on my application to
by
Jim Ohlstein
-
How to...
olefebvre Wrote:
-------------------------------------------------------
> No !!! As i wrote on the first page the setup is
> as follow:
> IPTABLES roots external access to port 80 to port
> 8080 which is NGinx Listening Port.
> From then on either NGinx serves all the pages or
> proxy them to Apache depending on which Vhost is
> considered. So it's really Nginx proxyi
by
Jim Ohlstein
-
Nginx Mailing List - English
That has never happened on my servers. I use a different path but that should not matter.
Are you compiling yourself?
Jim
------Original Message------
From: Pedro Mata-Mouros Fonseca
Sender: owner-nginx@sysoev.ru
To: nginx@sysoev.ru
ReplyTo: nginx@sysoev.ru
Subject: nginx.conf rewritten
Sent: Jun 26, 2009 11:02 AM
Greetings,
It seems that /etc/nginx.conf gets replaced by the
by
Jim Ohlstein
-
Nginx Mailing List - English
Shri @ DevLib.Org wrote:
> Hi there,
>
> Does anyone have an optimized config for Wordpress MU with subdomain
> support?
I use the config at
http://lumanau.web.id/2008/11/27/nginx-rewrite-rules-for-wordpressmu-with-wp-super-cache-plugin-enabled.html
for MU with supercache. It seems to work. I may switch to Varnish or
nginx fastcgi cache and then the rewrites are pretty tr
by
Jim Ohlstein
-
Nginx Mailing List - English
Ilan Berkner wrote:
> Can anyone point me to a document or step by step instructions as to
> how to install SSL / make it work with nginx?
>
I think you'll find the wiki quite informative for simple questions like
this.
See http://wiki.nginx.org/NginxHttpSslModule
To generate a key and CSR, if you don't have one, run
# openssl req -new -nodes -keyout yourServerName.key -ou
by
Jim Ohlstein
-
Nginx Mailing List - English
Robert Gabriel wrote:
> Im using nginx 0.7.60 for my blog, but I get a lot of weird requests
> from some users agent "Zulu_1.0". I wanna block it. How could this be
> done in nginx? If anyone has an idea please let me know.
>
Try:
if ($http_user_agent ~ "Zulu_1.0" ) {
return 403;
}
> Sample from access_log:
>
> 190.166.242.217 - - [
by
Jim Ohlstein
-
Nginx Mailing List - English
Michael Shadle wrote:
> might as well use logrotate though.
Most systems default to run logrotate once a day. He's looking for an
hourly solution. You can set logrotate to run hourly but that won't take
care of the timestamp in the file name which he wanted (unless there's a
setting for that in logrotate - I don't know, I never looked). Anyway,
it's a simple script. Feel free to use i
by
Jim Ohlstein
-
Php-fpm Mailing List - English
Pierre Far Wrote:
-------------------------------------------------------
> Thanks, Davy.
>
> > mv
> /opt/php/logs/php-fpm.logĀ /opt/php/logs/php-fpm.l
> og.1
> > kill -SIGUSR1 `catĀ /opt/php/logs/php-fpm.pid`
> Is there a way to rename with a serial number,
> like a timestamp
> instead of just .1?
>
A simple shell script like this ought to do it:
by
Jim Ohlstein
-
Php-fpm Mailing List - English
The current stable version is 0.7.61 (not 7.6) so that maybe is what you want. You can download at http://sysoev.ru/nginx/nginx-0.7.61.tar.gz.
If you want the same exact directory structure, run
# nginx -V
That will give you the current version and configure command which should include the directory structures as well as the correct default user and group.
by
Jim Ohlstein
-
How to...
Michael Shadle wrote:
> I know, I fixed it after you said that.
>
> Nah, I don't think it should be re-versioned again. When I was adding
> the ChangeLog entry I was thinking to myself "wow, there really isn't
> a huge change here other than a new contribution model and minor
> adjustments to work with 5.2.10" - but Andrei made adjustments for
> each version o
by
Jim Ohlstein
-
Php-fpm Mailing List - English
Chris Cortese wrote:
> Sorry if this sounds like an Apache / php-fpm question but I think
> it's relevant to this list and hopefully somebody here has encountered
> this.
There is a php-fpm list at http://groups.google.com/group/highload-php-en.
>
> I just built php 5.2.10 with the new php-fpm patch for php 5.2.10.
> This is working fine on Ubuntu Jaunty with nginx 0.8
by
Jim Ohlstein
-
Nginx Mailing List - English
Michael Shadle wrote:
> picky picky picky :P
Perhaps, but I think that consistency is important. You want it to show
correctly in phpinfo then the patch needs to be updated. So when you are
trying to provide technical support and ask what version of php-fpm do
you have installed you can get a correct answer. For that reason you
might want to consider re-versioning the patch as 0.5.12
by
Jim Ohlstein
-
Php-fpm Mailing List - English
Kevin Castiglione Wrote:
-------------------------------------------------------
>
> also this rewrite rule gives Redirect Loop error
> on all browsers.
> thank you
You need something like
server {
server_name XXX.aaa.com/bbb;
listen 80;
...
rewrite ^ http://aaa.com/bbb$request_uri? permanent;
}
by
Jim Ohlstein
-
Nginx Mailing List - English
mike Wrote:
-------------------------------------------------------
> Cross-post with the nginx mailing list, since a
> lot of nginx users use
> PHP-FPM...
>
> Andrei has changed the license so it will be
> compatible with PHP and I
> am working to get it sponsored to either get into
> PECL or PHP itself.
> In the meantime, I have taken over the website
>
by
Jim Ohlstein
-
Php-fpm Mailing List - English
I had a bit more time to test this out today. Using the original patch for php-5.2.8 (php-5.2.8-fpm-0.5.10.diff) and manually editing php-5.2.10/sapi/cgi/fastcgi.c based on php-5.2.10/sapi/cgi/fastcgi.c.rej, and then rebuilding configure I got it to compile on CentOS 5.3 (both 32 and 64 bit versions) and it appears to be working. I've put it in production here at the nginx forum for now.
by
Jim Ohlstein
-
Php-fpm Mailing List - English
Failed to compile on CentOS 5.3 (tried on 32 and 64 bit test servers).
/usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c:1341:30: error: fpm/fpm_autoconf.h: No such file or directory
/usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c: In function 'zm_info_cgi':
/usr/local/src/php-5.2.10/sapi/cgi/cgi_main.c:1345: error: 'PHP_FPM_VERSION' undeclared (first use in this function)
/usr/local/src/php-5.2.1
by
Jim Ohlstein
-
Php-fpm Mailing List - English
Enjoy yourself Igor.
Jim
------Original Message------
From: Igor Sysoev
Sender: owner-nginx@sysoev.ru
To: nginx@sysoev.ru
ReplyTo: nginx@sysoev.ru
Subject: vacation
Sent: Jun 19, 2009 7:28 AM
I will be on vacation since June 23 till July 7.
--
Igor Sysoev
http://sysoev.ru/en/
Sent from my Verizon Wireless BlackBerry
by
Jim Ohlstein
-
Nginx Mailing List - English
fei Wrote:
-------------------------------------------------------
> mike Wrote:
> --------------------------------------------------
> -----
> > While that does look like a final... according
> to
> > php.net (which would
> > make it a headline)
> >
> > Stable Releases:
> > Current PHP 5 Stable: 5.2.9
> >
> > Release Candi
by
Jim Ohlstein
-
Php-fpm Mailing List - English
fei Wrote:
-------------------------------------------------------
> mike Wrote:
> --------------------------------------------------
> -----
> > 5.2.10 is only RC still. I would wait for final
> > for a patch. I wish
> > Andrei would
> > come back :)
> >
> > Sent from my iPhone
> >
> > On Jun 17, 2009, at 3:52 PM, "fei&
by
Jim Ohlstein
-
Php-fpm Mailing List - English
LOL. Seems you helped yourself. :)
If there is no other web server software running then it is nginx serving the static files. If you want to convince yourself further, find an image on your site -- I used http://inverdevalley.com/files/2009/06/mini21.jpg. Then go to http://www.rexswain.com/httpview.html and paste the URL. It will show the headers and that the server is nginx 06.35 (and a few o
by
Jim Ohlstein
-
Migration from Other Servers