Your port numbers don't match.
What does Firebug or some other html debug tool say about the file?
On Feb 2, 2011, at 10:55 AM, octopusgrabbus wrote:
> I am trying to load static content (one css file) from the same apache
> server, using a different virtual host. I have no errors, but the css
> file appears not to load. How can I debug this further?
>
> The load shows up in /var/log/apache2/other_vhosts_access.log:
>
> Here are settings from httpd.conf.
>
> Listen 12345
> <VirtualHost _default_:12345>
>
> DocumentRoot /usr/local/www/documents/static
>
> </VirtualHost>
>
> I am loading the PageStyle.css file from a template. The css file is
> in the static directory:
>
> Here is base.html that loads PageStyle.css
>
> <head>
> <title>{% block title %}Town of Arlington Water Department AMR
> System{% endblock %} </title>
> <link rel="stylesheet" type="text/css" href="{{ MEDIA_URL }}/
> PageStyle.css" />
>
> </head>
>
> and the appropriate lines from settings.py
>
>
> # URL that handles the media served from MEDIA_ROOT
> MEDIA_URL = 'http://steamboy:8082'
>
>
> PageStyle.css is set to display Windows Gray 0x808080.
>
>
>
>
> other_vhosts_access.log
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to [email protected].
> 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.
>
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected].
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.