mod_python is dead.

you can just serve your static files .. statically.  usually you might
point at a cdn or put nginx in front although you could set /media or /
ash/media to serve statically with apache.

On Jun 24, 5:47 pm, commonzenpython <commonzenpyt...@gmail.com> wrote:
> i have been playing with django using mod_python, so i activated the
> admin for my application and instead of the pretty looking page, i
> get :
>
> Django administration
>
> Welcome, ashtanga. Change password / Log out
> Site administration
>
> Auth
> Groups  Add     Change
> Users   Add     Change
> Sites
> Sites   Add     Change
> Recent Actions
>
> My Actions
>
> None available
>
> i know this has something to do with the static files, and iv read
> several posts on it, but i cant find a solution for mod_python, this
> is my httpd.conf for mod_python:
>
> <Location "/ash">
>     SetHandler python-program
>     PythonHandler django.core.handlers.modpython
>     SetEnv DJANGO_SETTINGS_MODULE ash.settings
>     SetEnv PYTHON_EGG_CACHE /tmp
>     PythonOption django.root /ash
>     PythonDebug On
>    PythonPath "['/home/ashtanga/public_html/', '/home/ashtanga/
> public_html/ash'] + sys.path"
> </Location>
>
> my project path is /home/ashtanga/public_html/ash

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

Reply via email to