User Tools

Site Tools


django_con_apache_y_mod_python

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
django_con_apache_y_mod_python [08/07/2008 18:32]
fernando
django_con_apache_y_mod_python [10/07/2008 17:13]
fernando
Line 63: Line 63:
  
 **NOTA:** El artículo [[http://​articles.slicehost.com/​2007/​9/​18/​apache-virtual-hosts-permissions|Apache Virtual Hosts - permissions]] explica de manera sencilla el tema de configuración de permisos en el contexto de un host virtual de Apache. Aún no entiendo bien por qué el usuario principal (es decir, el dueño de los archivos de Catalis) debería agregarse al grupo //​www-data//​. **NOTA:** El artículo [[http://​articles.slicehost.com/​2007/​9/​18/​apache-virtual-hosts-permissions|Apache Virtual Hosts - permissions]] explica de manera sencilla el tema de configuración de permisos en el contexto de un host virtual de Apache. Aún no entiendo bien por qué el usuario principal (es decir, el dueño de los archivos de Catalis) debería agregarse al grupo //​www-data//​.
 +
 +
 +
  
  
Line 77: Line 80:
 **NOTA 1:** debe reemplazarse **''<​nowiki>​{{/​path/​to/​catalis}}</​nowiki>''​** por el path que corresponda. **NOTA 1:** debe reemplazarse **''<​nowiki>​{{/​path/​to/​catalis}}</​nowiki>''​** por el path que corresponda.
  
-**NOTA 2:** El uso del puerto 81 es sólo a modo de ejemplo. Si se opta por usar un puerto ​especial ​para el virtual host, posiblemente la directiva ''​Listen''​ deba moverse al archivo de configuración ''​ports.conf''​.+**NOTA 2:** El uso del puerto 81 es sólo a modo de ejemplo. Si se opta por usar un puerto ​alternativo ​para el virtual host, posiblemente la directiva ''​Listen''​ deba moverse al archivo de configuración ''​ports.conf''​.
  
  
-<file>+<code apache>
 # Apache config for Catalis with Django, 2008-07-03 # Apache config for Catalis with Django, 2008-07-03
 # Modified 2008-07-04 # Modified 2008-07-04
Line 131: Line 134:
     </​Location>​     </​Location>​
     <​Directory "​{{/​path/​to/​catalis}}/​static_files/">​     <​Directory "​{{/​path/​to/​catalis}}/​static_files/">​
-         Options +Indexes+        Order Allow,​Deny 
 +        Allow from all 
 +        ​Options +Indexes
     </​Directory>​     </​Directory>​
  
Line 152: Line 157:
  
 </​VirtualHost>​ </​VirtualHost>​
-</file>+</code>
  
  
Line 159: Line 164:
  
 **TO-DO:** agregar algo aquí, p.ej. verificar que no se pueda acceder a wxis desde afuera, pero sí en forma local. **TO-DO:** agregar algo aquí, p.ej. verificar que no se pueda acceder a wxis desde afuera, pero sí en forma local.
 +
  
  
Line 167: Line 173:
 (En construcción!) (En construcción!)
  
-  * Python+  * Python ​2.5
  
-  * Django+  * Django ​0.96
  
-  * [[http://​httpd.apache.org/​download.cgi|Apache 2.2]] (versión: ''​apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi''​)+  * [[http://​httpd.apache.org/​download.cgi|Apache 2.2]] (versión: ''​apache_2.2.9-win32-x86-openssl-0.9.8h-r2.msi''​). Instalacion tipica, como servicio.
  
   * [[http://​httpd.apache.org/​modules/​python-download.cgi|mod_python]] (versión: ''​mod_python-3.3.1.win32-py2.5-Apache2.2.exe''​)   * [[http://​httpd.apache.org/​modules/​python-download.cgi|mod_python]] (versión: ''​mod_python-3.3.1.win32-py2.5-Apache2.2.exe''​)
     * instalar (ejecutar el ''​.exe''​);​ cuando pregunta por la carpeta de Apache, indicar la carpeta ''​Apache2.2''​.     * instalar (ejecutar el ''​.exe''​);​ cuando pregunta por la carpeta de Apache, indicar la carpeta ''​Apache2.2''​.
-    * agregar línea en httpd.conf''​LoadModule python_module modules/​mod_python.so''​+    * agregar línea en ''​httpd.conf''​
 + 
 +<code apache>​ 
 +LoadModule python_module modules/​mod_python.so''​ 
 +</​code>​ 
 + 
 +  * Configuracion de Apache: copiar la config. sugerida en ''​conf/​extra/​catalis.conf'';​ agregar esta linea al final de ''​conf/​httpd.conf'':​ 
 + 
 +<code apache>​ 
 +Include conf/​extra/​catalis.conf 
 +</​code>​
django_con_apache_y_mod_python.txt · Last modified: 02/05/2009 00:00 (external edit)