So the person in IT that runs our webserver didn't want django hogging
up the root '/' because he likes to be able to just dump files in the
htdocs directory and have it servable by the webserver.

So now my django site is enabled in apache with...

WSGIScriptAlias /apps /some/path/django/engineering/apache/django.wsgi

instead of

WSGIScriptAlias /apps /some/path/django/engineering/apache/django.wsgi

I noticed that almost everything worked just fine.  After digging
around I noticed that wsgi sets some prefix variable for django to
use.  That is why urlresolvers.reverse() still works.  It uses some
get_script_prefix() function.

What I noticed didn't work is the login_required decorator.  It
doesn't make use of this prefix.

Is there a technical reason that this can't be done?  I noticed I can
set LOGIN_URL in settings but it seems weird that everything else in
the system seems to work fine except this one piece.  Because of this
one problem I now have my settings.py coupled with apache settings
which I don't like.

I wanted some feedback before I reported this as a bug.

Thanks,
~Eric
--~--~---------~--~----~------------~-------~--~----~
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