en tu apache tienes los modulos mod_python ?
Te funciona el localhost del django ?
y en tu apache debes de tener algo asi para
que pueda interpretar py apache
creo por aca esta la cosa lo hice hace algun tiempo y funciono pero no me
acuerdo mucho esto creo te servira un poco
<VirtualHost *:80>
ServerName djangoserver
DocumentRoot /home/pavel/hello
WSGIScriptAlias / /home/pavel/hello/apache/
django.wsgi
<Directory /home/pavel/hello>
Order allow,deny
Allow from all
#---------------------------------------------
PythonHandler mod_python.publisher
PythonDebug On #Desabilitar en Produccion
djangoPath
"['/home/nombreusuario/workspace/trunk/trabajoDjango/src/'] + sys.path"
AddHandler mod_python .py .py_
PythonHandler mod_python.psp
PythonDebug On
#---------------------------------------------
</Directory>
</VirtualHost>
El 5 de diciembre de 2011 17:57, Yulier Garcia <[email protected]>escribió:
> hola pdlopez no se si ya resolvistes el problema de los css y el sitio
> de administracion django con apache .
> Lo que te falta es esto:
>
> //--------------------------------------------------------------------------
> en el fichero de congiguracion de apache poner
>
> Alias /admin_media
> "C:/Python26/Lib/site-packages/django/contrib/admin/media"
>
> <Directory C:/Python26/Lib/site-packages/django/contrib/admin/media >
> Order deny,allow
> Allow from all
> </Directory>
>
> y en el fichero de de configuracion del proyecto (settings.py)
> ADMIN_MEDIA_PREFIX = '/admin_media/' #Alias del Apache httpd.conf
> //-----------------------------------------------------
> espero que esto te ayude
> _______________________________________________
> Python-es mailing list
> [email protected]
> http://mail.python.org/mailman/listinfo/python-es
> FAQ: http://python-es-faq.wikidot.com/
>
--
Miguel Zamora M.
Programador en Computacion e Informatica
08-1351249
[email protected]
Santiago-Chile
_______________________________________________
Python-es mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-es
FAQ: http://python-es-faq.wikidot.com/