On May 1, 10:15 am, maxweld <da...@maxwell.uk.net> wrote:
> Hi
> I have set up a basic project and am trying to get it running under
> Apache in a shared virtual hosting environment. The aim is to get it
> working here first, and then work with my hosting company so that they
> can support Django for their customers.
>
> The problem is that I cannot configure it so that the admin CSS files
> are located properly. The admin application is working fine, just no
> style sheets. I keep getting

<snip>

> The virtual host is configured thus:
> <VirtualHost *:80>
>
>         ServerNamewww.mytestapp.com
>         ServerAlias mytestapp.com
>
>         DocumentRoot /home/maxweld/TestProject/mytestapp/www
>
>         WSGIScriptAlias / /home/maxweld/TestProject/mytestapp/www/wsgi/
> django.wsgi
>
>         <Directory /home/maxweld/TestProject/mytestapp/www/wsgi>
>         Order deny,allow
>         Allow from all
>         </Directory>
>
> </VirtualHost>

You haven't got anything in here to actually serve the files from www.
Surely you should have an Alias directive to point to the media
folder, and a Directory directive for that path, as described in the
docs.
--
DR.

-- 
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