Ver Mensaje Individual
  #1 (permalink)  
Antiguo 16/08/2012, 06:41
Onsterion
 
Fecha de Ingreso: octubre-2010
Mensajes: 73
Antigüedad: 14 años, 4 meses
Puntos: 0
Pregunta Windows Apache más de un Site Django

Buenas mi pregunta es la siguiente, se puede tener activos más de 1 site con apache y el modulo wsgi?

Porque yo tengo lo siguiente:

Ejemplo:

httpd.conf:

Código:
Listen 90
LoadModule wsgi_module modules/mod_wsgi.so
WSGIPythonPath "C:/python/django/tutoriales/base_django"
httpd-vhosts.conf:

Código:
<VirtualHost *:90>
	Alias /rec_estatic "C:/python/django/tutoriales/base_django/base_django/rec_estatic"
	Alias /media "C:/python/django/tutoriales/base_django/base_django/media"

	<Directory "C:/python/django/tutoriales/base_django/base_django/rec_estatic">
	Order deny,allow
	Allow from all
	</Directory>	
	
	<Directory "C:/python/django/tutoriales/base_django/base_django/media">
	Order deny,allow
	Allow from all
	</Directory>

	WSGIScriptAlias / "C:/python/django/tutoriales/base_django/base_django/wsgi.py"

	<Directory "C:/python/django/tutoriales/base_django/base_django">
	<Files wsgi.py>
	Order deny,allow
	Allow from all
	</Files>
	</Directory>

	ErrorLog logs/error.log
	
	LogLevel warn
	
	CustomLog logs/access.log combined
</VirtualHost>

Hasta ahí todo perfecto, pero si quiero agregar otro site, en teoria creo otro virtual host, apuntando al otro site y por ejemplo lo puedo hacer que se abra en el puerto 91, pero en el httpd.conf el WSGIPythonPath solo me toma 1.

Como podría hacer para que me tome los 2?
__________________
Página Principal: http://www.almightysystem.com.ar/