Thx for confirming how to invoke admin - I checked that's how it's
configured.
The apache logs dont show you much.
You always get a redirect
[18/Nov/2008:20:07:52 +0000] "GET /admin HTTP/1.1" 301 - "-" "Mozilla/
4.0 (compatible; etc"
With the /time test you also get a 200
[18/Nov/2008:20:09:39 +0000] "GET /time/ HTTP/1.1" 200 59 "-" "Mozilla/
4.0 (compatible; etc"
This suggests that the redirect fails for /admin
I'm wondering if this is a file missing or file protection problem?
Any further suggestions?
Paul

On Nov 18, 12:08 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Tue, Nov 18, 2008 at 3:39 AM, paultanner <[EMAIL PROTECTED]> wrote:
>
> > I got a fresh distribution (1.01) and installed it on RHEL4 linux/
> > apache/mod_python (in a subdomain)
> > python is 2.3.4
> > the trivial app /tim (from the book) works OK so most of the config
> > must be right
> > then tried to add the admin interface, modifying settings.py and ..
>
> > urls.py
> > -------
>
> > from django.conf.urls.defaults import *
> > from django.contrib import admin
> > from mysite.views import current_datetime
> > admin.autodiscover()
>
> > urlpatterns = patterns('',
> >  (r'^admin/(.*)', admin.site.root),
> >  (r'^time/$', current_datetime),
> > )
>
> > This just hangs.  Does not throw an error. An entry in the access_log
> > shows that it tried to redirect.
>
> A cut-n-paste of what you're seeing the the log might be enlightening.
>
> The other urlpattern you find is old, and will not work with 1.0.x
>
> Karen- Hide quoted text -
>
> - Show quoted text -
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to