Try this: http://stackoverflow.com/questions/918826/how-to-lookup-a-zipcode-from-a-gps-coordinate (Edit: How the f$#k do you embed hyperlinks? :/ )by voodooKobra - Ideas and Feature Requests
You can query a GeoIP database in your application code. See: http://php.net/manual/en/book.curl.php http://dev.maxmind.com/geoip/legacy/install/cityby voodooKobra - Ideas and Feature Requests
location ~ ^/(favicon\.ico$|resources/|robots\.txt)$ { include caching.conf; } location ~ ^/ { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $host; proxy_http_version 1.1; proxy_set_header Connection ""; proxy_pass http://tomcat1; proxy_pass_header server; gzip_vary off; } ## # Removed $ from parentheses ##by voodooKobra - Ideas and Feature Requests
bender Wrote: ------------------------------------------------------- > netstat -anp | grep -c nginx > > or to be more specific > > netstat -anp | grep ":80" | grep -c nginx Oh thank you, that's clever. I never thought about using netstat for that :)by voodooKobra - Ideas and Feature Requests
rewrite ^/dentists/(+)/(+)/?$ /doctorsInArea.htm?cID=$1&aID=$2; Does this work? You don't want to use http:// for rewriteby voodooKobra - Other discussion
Hello, I'm playing around with cron and bash scripting, and I was wondering if there is currently (or could be in the future) a way to do get the number of active connections from the command line? i.e. something like: root@boxen:/var/www# nginx --get-active-connections 4 root@boxen:/var/www# Or something to that effect?by voodooKobra - Ideas and Feature Requests
Make sure you stop the apache2 service and remove apache2 during the automated fresh install phase.by voodooKobra - Other discussion
Removing #default_type from the main .conf instead forces it to serve it as a .txt file What can I do to get error pages to pass to fastCGI?by voodooKobra - How to...
Hi. I'm not sure if I screwed up a configuration file somewhere, but if someone tries to access a garbage url such as /fsdkfsdkfkwdfjf without an extension, they get forced to a download for the source code (!!!!) of my error page. Any ideas on where to start? server { listen 80; server_name alpha7f.com www.alpha7f.com ssl.alpha7f.com; #ROOT REMOVED index iby voodooKobra - How to...