Firebug shows the page, and the page changes to the color I set, if I
click on sections in the Firebug window. Not sure what is going on
with that.

On Feb 2, 5:31 pm, Jon J <urbanconfeder...@gmail.com> wrote:
> Firebug is a great tool for diagnosing problems like this, and
> Chromium has even better functionality built in!
>
> This problem is being caused by an improper configuration setting, IMO.
>
> Also, the preferred method of deployment is to use the same virtual
> host and create an Alias directive for /media
>
> On Wed, Feb 2, 2011 at 1:21 PM, Eric Chamberlain <e...@rf.com> wrote:
> > 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 django-users@googlegroups.com.
> >> To unsubscribe from this group, send email to 
> >> django-users+unsubscr...@googlegroups.com.
> >> For more options, visit this group 
> >> athttp://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 django-users@googlegroups.com.
> > To unsubscribe from this group, send email to 
> > django-users+unsubscr...@googlegroups.com.
> > For more options, visit this group 
> > athttp://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 django-users@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