Hello all

i have developed a simple app with Django.1.3.4. To deploy my applications i used mod_python. All work fine except the admin interface when try a login. the home page appears without the correct css and image files .. can you help me??

this is my httpd.conf

/etc/apache2/httpd.conf

<Location "/">
    SetHandler python-program
    PythonHandler django.core.handlers.modpython
    SetEnv DJANGO_SETTINGS_MODULE market.settings
    PythonDebug On
    PythonPath "['/var/www','/var/www/market'] + sys.path"
</Location>

Alias /media "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/media/"

<Location "/media">
    AllowOverride None
    Options None
    Order allow,deny
    Allow from all
</Location>

urls.py
url(r'^admin/', include(admin.site.urls)),


many many thanks
marco

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to