Alias /media /home/dev//Django-1.0/django/contrib/admin/media ^ could be that extra slash. i assume you reloaded apache after the change?
keith On Tue, Nov 11, 2008 at 2:55 PM, prem1er <[EMAIL PROTECTED]> wrote: > > Still no good. Is this what you wanted me to do? > > <VirtualHost *:80> > ServerName www.dev.xxx.us > ServerAlias dev.xxx.us > DocumentRoot /home/dev/djprojects/xxx > Alias /media /home/dev//Django-1.0/django/contrib/admin/media > <Directory /home/dev/djprojects/xxx> > Options Indexes FollowSymLinks MultiViews > AllowOverride None > Order allow,deny > allow from all > AddHandler mod_python .py > PythonDebug On > </Directory> > <Location "/"> > SetHandler python-program > PythonHandler django.core.handlers.modpython > SetEnv DJANGO_SETTINGS_MODULE xxx.settings > PythonDebug On > PythonPath "['/home/dev/djprojects'] + sys.path" > </Location> > </VirtualHost> > > On Nov 11, 2:29 pm, "Keith Eberle" <[EMAIL PROTECTED]> wrote: > > You can add an alias in the <VirtualHost> directive that maps to where > the > > admin media files are. Like so: > > > > Alias /media /home/dev//Django-1.0/django/contrib/admin/media > > > > keith > > > > On Tue, Nov 11, 2008 at 2:15 PM, prem1er <[EMAIL PROTECTED]> > wrote: > > > > > This is the location of my css files. /home/dev//Django-1.0/django/ > > > contrib/... > > > > > On Nov 11, 1:49 pm, prem1er <[EMAIL PROTECTED]> wrote: > > > > Just got django to work on apache thanks to everyone on this group. > > > > After I switched, I can no longer get the CSS to work with the admin > > > > page or the 'polls' from the tutorial. Here is my apache config. > > > > When I run the same site from my localhost on django's server > > > > everything is fine. > > > > > > <VirtualHost *:80> > > > > ServerNamewww.dev.xxx.us > > > > ServerAlias dev.xxx.us > > > > DocumentRoot /home/dev/djprojects/xxx > > > > <Directory /home/dev/djprojects/xxx> > > > > Options Indexes FollowSymLinks MultiViews > > > > AllowOverride None > > > > Order allow,deny > > > > allow from all > > > > AddHandler mod_python .py > > > > PythonDebug On > > > > </Directory> > > > > <Location "/"> > > > > SetHandler python-program > > > > PythonHandler django.core.handlers.modpython > > > > SetEnv DJANGO_SETTINGS_MODULE xxx.settings > > > > PythonDebug On > > > > PythonPath "['/home/dev/djprojects'] + sys.path" > > > > </Location> > > > > </VirtualHost> > > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---