Re: handling subdirectories location

2015-06-07 Thread Thiago Farina
The issue I'm facing is that http://myservername.com/foo/index.php/secure/login redirects to http://myservername.com/index.html. Can someone help me fix this? -- Thiago Farina ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/lis

Nginx LUA

2015-06-07 Thread nginxsantos
Can anyone please help me with a lua configuration which I can embedded into nginx.conf to send the following sepaately in access log. user_agent_os user_agent_browser user_agent_version At present all these fields are embedded in http_user_agent and I am writing parser to parse at the receiver e

handling subdirectories location

2015-06-07 Thread Thiago Farina
Hi, I have the following in my nginx configuration: server { listen 8080; server_name myservername.com; root /data/www/myservername.com; location / { index index.php index.html index.htm; try_files $uri $uri/ /index.html; } # redirect server error

Re: Right use of 'if'

2015-06-07 Thread itpp2012
Have a look at /conf/nginx-simple-WAF.conf on this site http://nginx-win.ecsds.eu/ Works on any OS. Posted at Nginx Forum: http://forum.nginx.org/read.php?2,259419,259420#msg-259420 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailma

Right use of 'if'

2015-06-07 Thread Aleksandar Lazic
Hai. I try to refuse some attacks with map and if. The requests looks like: # /?id=../../../../../../etc/passwd%00&page=../../../../../../etc/passwd%00&file=../../../../../../etc/passwd%00&inc=../../../../../../etc/passwd%00&load=../../../../../../etc/passwd%00&path=../../../../../.