Rewriting Base URL when passing
wtymdjs at gmail.com
Wed Feb 15 21:40:56 UTC 2012
Hmm. then that wouldn't resolve my problem.
How can I host my django installation on another port?
I tried creating a new server object and just added in listen 8000 and
the location thing, and it didn't respond to anything I sent on that
port, despite linux saying nginx was bound to that port.
On Wed, Feb 15, 2012 at 4:38 PM, Valentin V. Bartenev <ne at vbart.ru> wrote:
> On Thursday 16 February 2012 01:23:48 adam estes wrote:
>> Whenever I type /django/admin
>> The url changes to /admin and the ipb admin login is displayed
>> (Because admin is in the root folder, not in the django folder.
>> if I type /django/admin/
>> The django admin page is displayed, but clicking login changes it to
>> /admin and the ipb login page is displayed.
> Hm... I see. But what do you expect? Now, your django doesn't know about
> "/django/" prefix in your url and naturally generates all links without it.
> When you click to "/admin" - your browser goes to "/admin" and nginx receives a
> request to "/admin" (not /django/admin).
> wbr, Valentin V. Bartenev
> nginx mailing list
> nginx at nginx.org
More information about the nginx