This article describes a design, implementation and usage of the custom service operation invoker for invoking a xaml workflow. It is based on the upcoming Microsoft .NET 4 Technology.
Interesting question I have this python code:
import sys, bottle, gevent
from bottle import *
from gevent import *
from gevent.wsgi import WSGIServer
@route("/")
def index():
yield "/"
application=bottle.default_app()
WSGIServer(('', port), application, spawn=None).serve_forever()
that runs standalone with nignx infront of it as a reverse proxy.
Now each of these pieces of code run separately but I run multiple of these per domain per project(directory) but the code thinks for some reason that it is top level and its not so when you go to mydomain.com/something it works but if you go to mydomain.com/something/ you will get an error. No I have tested and figured out that nginx is stripping the "something" from the request/query so that when you go to mydomain.com/something/ the code thinks you are going to mydomain.com// how do I get nginx to stop removing this information?
Nginx site code:
upstream mydomain {
server 127.0.0.1:10100 max_fails=5 fail_timeout=10s;
}
upstream subdirectory {
server 127.0.0.1:10199 max_fails=5 fail_timeout=10s;
}
server {
listen 80;
server_name mydomain.com;
access_log /var/log/nginx/access.log;
location /sub {
proxy_pass http://subdirectory/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_max_temp_file_size 0;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
location /subdir {
proxy_pass http://subdirectory/;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_max_temp_file_size 0;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 90;
proxy_send_timeout 90;
proxy_read_timeout 90;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;
}
}
Silverlight BusyIndicator is not a new thing in Silverlight. It was first added in Silverlight 3 Toolkit in November 2009 release (if I am not wrong). In this post I will describe about this for those who wants to know about it. So, What is this Busy Indicator? Busy indicator is a tool which you ca
Highlights from Google I/O 2011
Google I/O brings together thousands of developers for two days of deep technical content, focused on building the next generation of web, mobile, and enterprise applications with Google and open web technologies such as Android, Google Chrome, Google APIs, Google Web Toolkit, App Engine, and more.
From:
GoogleDevelopers
Views:
19561
281
ratings
Time:
01:54
More in
Science & Technology
Hi all,
I have a Django project to track our company's restructuring projects. Here's the very simple model:
class Project(models.Model):
code = models.CharField(max_length=30)
description = models.CharField(max_length=60)
class Employee(models.Model):
project = models.ForeignKey(Project)
employee_id = models.IntegerField()
country_code = models.CharField(max_length=3)
severance = models.IntegerField()
Due to regulations in some European countries, I'm not allowed to keep employee-level severance information in a database that sits on a box outside of that country.
In Django, how do I manage the need to have my Employee table split across multiple databases based on an Employee attribute (i.e. country_code) in a way that doesn't impact anything else in the project (e.g. views, templates, admin)?
Thanks,
Mike
La seconde mise à jour du code source de OpenStack est disponible
avec de nouvelles fonctionnalités et la participation de Cisco et Canonical
Mise à jour du 04/02/11, par Hinault Romaric
La communauté OpenStack vient de dévoiler la seconde mise à jour de son projet open-source Cloud OpenStack dont le code source a été baptisé « Besack ».
Pour mémoire OpenStack est un projet initié par la compagnie RackSpace en partenariat avec plusieurs compagnies parmi lesquelles la Nasa et Microsoft (lire ci-avant).
La seconde mise à jour du projet inclut de nouvelles technologies de stockage, une prise en charge d'IPv6 et ...
This past week the CodePlex team worked on several fixes to improve the stability of our TFS infrastructure, including applying TFS 2012 Update 1. We apologize for the recent downtime. We are not completely out of the woods, but we appreciate your patience as we work through the issues.
Additional Bug Fixes:
Fixed several issues with character encoding within file paths.
Fixed issue where the number of pull requests and forks were disappearing after selecting either link.
Fixed issue blocking license changes when special characters exist in copyright holder field.
Have ideas on how to improve CodePlex? Please visit our suggestions page! Vote for existing ideas or submit a new one.
As always you can reach out to the CodePlex team on Twitter @codeplex or reach me directly @mgroves84
This article illustrates the risks of exceptions being thrown where it is generally not expected, e.g., a library function or a finally block, and shows ways to prevent some insidious errors (such as inconsistency of program data or loss of exception information).
.NET provides extensive support for image conversion. Any image can be processed from one format to another. Most common formats to which .NET have support for are .BMP, .EMF, .GIF, .ICO, .JPG, .PNG, .TIF and .WMF.
This article guides about to create a Flash Slideshow using XML. Usually, when we create a slideshow in flash, all the images get integrated into the movie itself, doing this slashes the reusability of the movie file (swf) and updatability of the movie content. Here I created an information bridge b
For those not attending Google I/O, remember to tune in to http://youtube.com/GoogleDevelopers on Wednesday, May 19, and Thursday, May 20, to watch the Google I/O keynote presentations live...
Since the launch of Custom Search, we've been constantly pushing the customization envelope -- allowing users to tweak ranking, provide refinements, add promotions above results, change the look...
Does anyone know of a free online SQL source that allows you to practice SQL online without installing a database? Sort of like Code Academy?
I am looking to start teaching SQL to a remote audience, and I want to be able to set up a schema and some data, and have the students run SQL against my schema, and practice. I also want a way to set up some exercises for them. In short, a Code Academy kind of environment for SQL.
The OpenSocial Foundation cordially invites you to come and meet the developers and community leaders that are driving OpenSocial. This is your chance to learn more about what...