try adding alias /media/ c:\django\contrib\admin\media\
in your apache config and see if that helps. On 22/05/2006, at 12:20 PM, keukaman wrote: > > Thank you. I'm a rookie at Django, Python, & Apache. I'm running this > on my XP laptop just to learn this. I have a couple of follow up > questions: > > 1. My tutorial site is located at c:\django\mysite, with the polls app > under that. I get a Django "Page not found" error when putting > <Location "/mysite/"> in the http.conf file and try to access > http://localhost/mysite/poll/1/. With the same <Location "/mysite/"> > and trying to access http://localost/poll/1/ I get an Apache error. > All > works o.k. with <Location "/">. Any ideas about this? > 2. More importantly, I'm struggling with how to link the admin > media to > this project/application. The path is c:\django\mysite\polls for my > poll application. Do you know of a step-by-step way to describe how to > link the admin media properly? > > If I leave it as <Location "/">, I can get the app to load properly > with the url http://localhost/poll/1/. > > X-Google-Language: ENGLISH,ASCII-7-bit > Received: by 10.11.53.63 with SMTP id b63mr111671cwa; > Sun, 21 May 2006 19:20:54 -0700 (PDT) > X-Google-Token: XLh05AwAAABtYWPi2Vn3bmme3c8eu0RM > Received: from 68.168.131.199 by j73g2000cwa.googlegroups.com with > HTTP; > Mon, 22 May 2006 02:20:54 +0000 (UTC) > From: "keukaman" <[EMAIL PROTECTED]> > To: "Django users" <django-users@googlegroups.com> > Subject: Re: Apache Localhost Django Admin Look & Feel > Date: Sun, 21 May 2006 19:20:54 -0700 > Message-ID: <[EMAIL PROTECTED]> > In-Reply-To: <[EMAIL PROTECTED]> > References: <[EMAIL PROTECTED]> > <[EMAIL PROTECTED]> > User-Agent: G2/0.2 > X-HTTP-UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; > rv:1.8.0.3) Gecko/20060426 Firefox/1.5.0.3,gzip(gfe),gzip(gfe) > Mime-Version: 1.0 > Content-Type: text/plain > > Thank you. I'm a rookie at Django, Python, & Apache. I'm running this > on my XP laptop just to learn this. I have a couple of follow up > questions: > > 1. My tutorial site is located at c:\django\mysite, with the polls app > under that. I get a Django "Page not found" error when putting > <Location "/mysite/"> in the http.conf file and try to access > http://localhost/mysite/poll/1/. With the same <Location "/mysite/"> > and trying to access http://localost/poll/1/ I get an Apache error. > All > works o.k. with <Location "/">. Any ideas about this? > 2. More importantly, I'm struggling with how to link the admin > media to > this project/application. The path is c:\django\mysite\polls for my > poll application. Do you know of a step-by-step way to describe how to > link the admin media properly? > > If I leave it as <Location "/">, I can get the app to load properly > with the url http://localhost/poll/1/. > > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---