Hi,
please, I have problem with DJANGO behind reverse proxy SQUID...
Squid is set so that after recieve request it redirect me to another local port. This redirect works. From DJANGO I recieve ERROR 404 with this:
Request Method: GET
Request URL: http://a.server.cz:5500/http://a.server.cz:5500/
{u'path': u'http://a.server.cz:5500/'}
In terminal I see:
[26/Dec/2016 21:41:00] "GET http://a.server.cz:5500/ HTTP/1.1" 404 1696
I think, that problem is, that squid add squid server address to absolute path of request ...
Network scheme:
:--------------------------:
: :
: INTERNET :
: :
:--------------------------:
:
:
: request - a.server.cz:5500
:
a.server.cz :
:----------------------------:
: :
: squid: 5500 -> 5501 :
: :
: :
: DJANGO: listen 5501 :
: :
:----------------------------:
Please, can you help me?
Thank you!
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f68fb0ac-9b5f-4cb4-83de-e02244a22285%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment