Re: admin's media on apache

2008-11-12 Thread prem1er

Overlooked that. AMAZING thank you thank you!

On Nov 12, 4:36 pm, Brian Neal <[EMAIL PROTECTED]> wrote:
> On Nov 12, 3:32 pm, prem1er <[EMAIL PROTECTED]> wrote:
>
>
>
> > Still having a problem from the other day.  I can't get the media (css
> > + images) to show up on my admin pages after I moved it over to
> > Apache.  I tried a sym link from /home/dev/Django-1.0/django/contrib/
> > admin/media/ to /home/dev/djprojects/xxx/media (my site root) and
> > still no luck.  I have also tried to add an Alias in my Apache
> > config.  Here is my Apache config as of now.  Anyone else have
> > suggestions I would appreciate it.
>
> > 
> >     ServerNamewww.dev.xxx.us
> >     ServerAlias dev.xxx.us
> >     DocumentRoot /home/dev/djprojects/xxx/
> >         
> >                 Options Indexes FollowSymLinks MultiViews
> >                 AllowOverride None
> >                 Order allow,deny
> >                 allow from all
> >                 AddHandler mod_python .py
> >                 PythonDebug On
> >         
> >         
> >                 SetHandler python-program
> >                 PythonHandler django.core.handlers.modpython
> >                 SetEnv DJANGO_SETTINGS_MODULE xxx.settings
> >                 PythonDebug On
> >                 PythonPath "['/home/dev/djprojects'] + sys.path"
> >         
> > 
>
> You still don't have a SetHandler None on your media directory. You
> need to let Apache serve your media, not django. 
> Seehttp://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



Re: admin's media on apache

2008-11-12 Thread Brian Neal

On Nov 12, 3:32 pm, prem1er <[EMAIL PROTECTED]> wrote:
> Still having a problem from the other day.  I can't get the media (css
> + images) to show up on my admin pages after I moved it over to
> Apache.  I tried a sym link from /home/dev/Django-1.0/django/contrib/
> admin/media/ to /home/dev/djprojects/xxx/media (my site root) and
> still no luck.  I have also tried to add an Alias in my Apache
> config.  Here is my Apache config as of now.  Anyone else have
> suggestions I would appreciate it.
>
> 
>     ServerNamewww.dev.xxx.us
>     ServerAlias dev.xxx.us
>     DocumentRoot /home/dev/djprojects/xxx/
>         
>                 Options Indexes FollowSymLinks MultiViews
>                 AllowOverride None
>                 Order allow,deny
>                 allow from all
>                 AddHandler mod_python .py
>                 PythonDebug On
>         
>         
>                 SetHandler python-program
>                 PythonHandler django.core.handlers.modpython
>                 SetEnv DJANGO_SETTINGS_MODULE xxx.settings
>                 PythonDebug On
>                 PythonPath "['/home/dev/djprojects'] + sys.path"
>         
> 

You still don't have a SetHandler None on your media directory. You
need to let Apache serve your media, not django. See
http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id1
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~--~~~~--~~--~--~---



admin's media on apache

2008-11-12 Thread prem1er

Still having a problem from the other day.  I can't get the media (css
+ images) to show up on my admin pages after I moved it over to
Apache.  I tried a sym link from /home/dev/Django-1.0/django/contrib/
admin/media/ to /home/dev/djprojects/xxx/media (my site root) and
still no luck.  I have also tried to add an Alias in my Apache
config.  Here is my Apache config as of now.  Anyone else have
suggestions I would appreciate it.



ServerName www.dev.xxx.us
ServerAlias dev.xxx.us
DocumentRoot /home/dev/djprojects/xxx/

Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
allow from all
AddHandler mod_python .py
PythonDebug On


SetHandler python-program
PythonHandler django.core.handlers.modpython
SetEnv DJANGO_SETTINGS_MODULE xxx.settings
PythonDebug On
PythonPath "['/home/dev/djprojects'] + sys.path"



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