rewrite or return directives for discuz v3.1

2013-12-03 Thread r004
hello; I want to write a block to put in my VHOST config file. i want 1. if there is "/install/index.php/" in the link. it shouldbe removed from the link. 2. if the format is like /uc_server/blab.php/uc_server/blahblah ===it should change to===>/uc_server/blabal what should I put in my VHOST conf

Re: How to crack Windows 7 administrator user password

2013-12-03 Thread Oifnseoier
To crack Windows 7 password I think the best way can be reset software or reset disk. You can use your USB drive to download Ophcrack or Anmosoft Windows Password Reset to create a disk by yourself. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245032,245191#msg-245191 ___

RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

2013-12-03 Thread 郭振立
Hello, > > Here is an error occurred if I run "nginx -t" in Windows CLI when the > > nginx server is in running, > > > > The tips always is the same: "Assertion failed: > > ngx_shared_sockets->pid==pid, file src/core/nginx.c, line 374" > > This is because you are running nginx.exe as a differ

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Branden Visser
Sorry I misinterpreted your question. The header does not support specifying specific hosts, for example, that you want to allow iframing from. Using the JavaScript technique, perhaps something could be done to ensure window.parent.location.href matches some pattern or list of hosts. I haven't imp

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Ian Evans
On 2013-12-03 16:39, Francis Daly wrote: On Tue, Dec 03, 2013 at 04:13:03PM -0500, Ian Evans wrote: Hi there, Yesterday, I discovered that someone had registered a site (basically taking our domain name and adding a word to it) and then framed our whole site in theirs. By that I mean it's a f

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Branden Visser
On Tue, Dec 3, 2013 at 4:46 PM, Ian Evans wrote: > On 2013-12-03 16:32, Branden Visser wrote: >> >> If they're using an iframe rather than a proxy then IP tricks won't help. >> >> Using the X-FRAME-OPTIONS header is probably your best bet [1] >> >> Hope that helps, >> Branden >> >> [1] >> >> >> ht

Re: RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

2013-12-03 Thread itpp2012
> And please try to compile a version with this module: > http://wiki.nginx.org/HttpSubsModule There a beta you can try, nginx 1.5.8.2 Caterpillar BETA1.zip which includes https://github.com/yaoweibin/ngx_http_substitutions_filter_module which I had to port a little bit (2 bugs) Posted at Nginx F

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Ian Evans
On 2013-12-03 16:32, Branden Visser wrote: If they're using an iframe rather than a proxy then IP tricks won't help. Using the X-FRAME-OPTIONS header is probably your best bet [1] Hope that helps, Branden [1] http://stackoverflow.com/questions/2896623/how-to-prevent-my-site-page-to-be-loaded

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Francis Daly
On Tue, Dec 03, 2013 at 04:13:03PM -0500, Ian Evans wrote: Hi there, > Yesterday, I discovered that someone had registered a site (basically > taking our domain name and adding a word to it) and then framed our > whole site in theirs. By that I mean it's a full iframe job, with no > toolbars s

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Ilan Berkner
That's a good point, thanks. On Tue, Dec 3, 2013 at 4:32 PM, Branden Visser wrote: > If they're using an iframe rather than a proxy then IP tricks won't help. > > Using the X-FRAME-OPTIONS header is probably your best bet [1] > > Hope that helps, > Branden > > [1] > http://stackoverflow.com/que

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Branden Visser
If they're using an iframe rather than a proxy then IP tricks won't help. Using the X-FRAME-OPTIONS header is probably your best bet [1] Hope that helps, Branden [1] http://stackoverflow.com/questions/2896623/how-to-prevent-my-site-page-to-be-loaded-via-3rd-party-site-frame-of-iframe On Tue, D

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Ian Evans
On 2013-12-03 16:15, Ilan Berkner wrote: One possibility (not Nginx related directly) is to block their IP address at the firewall level from even getting to your server. Or add a deny ###.###.###.### to the server block? ___ nginx mailing list nginx

Re: Any config tricks to stop site from framing us?

2013-12-03 Thread Ilan Berkner
One possibility (not Nginx related directly) is to block their IP address at the firewall level from even getting to your server. On Tue, Dec 3, 2013 at 4:13 PM, Ian Evans wrote: > Yesterday, I discovered that someone had registered a site (basically > taking our domain name and adding a word t

Any config tricks to stop site from framing us?

2013-12-03 Thread Ian Evans
Yesterday, I discovered that someone had registered a site (basically taking our domain name and adding a word to it) and then framed our whole site in theirs. By that I mean it's a full iframe job, with no toolbars showing. Not sure what they're up to, but I'd like to stop it. I know I can us

Re: Subdomains no longer work

2013-12-03 Thread Francis Daly
On Tue, Dec 03, 2013 at 01:20:00PM -0500, Peleke wrote: Hi there, > I don't know why it serves the main domain as it should but no subdomains. What happens if you comment the line listen [::]:80 ipv6only=on; and restart? If your response is anything other than "it works", please show one re

Re: Subdomains no longer work

2013-12-03 Thread Peleke
It worked sometime before that subdomains were accessible as they should be, now they are not anymore but sadly I don't know why because I haven't tested them with every change. The config seems to be valid. nginx is running on a Debian Wheezy server with PHP 5.5x, memcache and a few other services

NGINX Module - create variables‏

2013-12-03 Thread Alex Koch
Hi, I would like to create a small module which execute some routines, returns an NGX_OK, somewhat similar in concept to http://blog.zhuzhaoyuan.com/2009/08/creating-a-hello-world-nginx-module/ However I would like once the module executes to create variables such as $my_var which would be ac

Re: nginx - workers segfaulting

2013-12-03 Thread Maxim Dounin
Hello! On Tue, Dec 03, 2013 at 11:11:24AM -0500, nmarques wrote: > Maxim, > Right on dude. Anyway you can have this patch merged into trunk for the next > release? The patch as in the ticket is wrong, it only hides the real problem. Proper patch to solve the problem is to be coded. As the pro

Re: nginx - workers segfaulting

2013-12-03 Thread nmarques
Maxim, Right on dude. Anyway you can have this patch merged into trunk for the next release? So far I have blocked nginx updates. NM Posted at Nginx Forum: http://forum.nginx.org/read.php?2,245135,245167#msg-245167 ___ nginx mailing list nginx@nginx.o

Re: RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

2013-12-03 Thread itpp2012
> Here is an error occurred if I run "nginx -t" in Windows CLI when the > nginx server is in running, > > The tips always is the same: "Assertion failed: > ngx_shared_sockets->pid==pid, file src/core/nginx.c, line 374" This is because you are running nginx.exe as a different user then nginx.exe i

Re: nginx - workers segfaulting

2013-12-03 Thread Maxim Dounin
Hello! On Mon, Dec 02, 2013 at 01:15:25PM -0500, nmarques wrote: > Dear All, > > I'm facing a small problem with NGINX; The workers are segfaulting since > 11:20 this morning. From kernel messages I got soemthing like this: > > nginx[6888]: segfault at 8 ip 00426a30 sp 7fff85c01e70

RE: [ANN] Windows nginx 1.5.8.1 Caterpillar

2013-12-03 Thread 郭振立
Dear, Thank you very much for your great job! I use Nginx-Win to run proxy for some Windows 2003 nodes. I change nginx-win from official download to your version now. Here is an error occurred if I run "nginx -t" in Windows CLI when the nginx server is in running, The tips always is

Re: NGINX timeout issue

2013-12-03 Thread Andrew Alexeev
Hi, On Dec 3, 2013, at 1:45 AM, Shankar Dagadu Borate wrote: > Hi all, > > We are using nginx as proxy server in all our production deployment. The > nginx server proxy the http request to Amazon ELB (elastic load balancer) > using upstream module. Currently we are seeing timeout issues in NG

NGINX timeout issue

2013-12-03 Thread Shankar Dagadu Borate
Hi all, We are using nginx as proxy server in all our production deployment. The nginx server proxy the http request to Amazon ELB (elastic load balancer) using upstream module. Currently we are seeing timeout issues in NGINX because NGINX caches the IP address on start. Now when there is change

Re: NGINX 500 http error

2013-12-03 Thread fatine,al
OK. :) Posted at Nginx Forum: http://forum.nginx.org/read.php?2,244693,245150#msg-245150 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Sanitize "invalid UTF-8 byte sequence"

2013-12-03 Thread Svoop
Hi I'm getting forged requests with invalid UTF-8 byte sequences on my Rails app which is served with Nginx/Passenger. Is there a way to have Nginx sanitize requests before they are passed to Passenger? Thanks for your hints! ___ nginx mailing list ngi

RE: nginx - workers segfaulting

2013-12-03 Thread Lukas Tribus
Hi! > I'm facing a small problem with gdb and separate debuginfo's. Do you build > with the '-g' compiler option? Probably not. Please check with file /usr/sbin/nginx Does the repository contain a special debug build like nginx-debug or something? Could you install it? Whoever maintains the