Hi, i am configuring pound 2.4.4 with this listenhttp:

ListenHTTP
        Address 192.168.1.50
        Port    80
        RewriteLocation 1
        #RewriteDestination 1

        Service
                HeadRequire "Host: .*www.myweb.es.*"

                Session
                    Type Cookie
                    ID   "MYWEBSESSIONID"
                    TTL  300
                End

                BackEnd
                    Address 192.168.1.100
                    Port    10000
                End
                BackEnd
                    Address 192.168.1.101
                    Port    10000
                End

        End

End

It is correct, but i have problems with location headers,
the client put:

telnet www.myweb.es 80
GET /principal/

and I receive location header
Location /principal/index.php

NO PROBLEM, but if i put

telnet www.myweb.es 80
GET /principal  (without slash)

Location header receibed:
Location: http://www.myweb.es:10000/principal/index.php

and the client redirect to http://www.myweb.es:10000/principal/index.php

I think that rewritelocation 1 solve this problem but dont work,
I compiled pound 2.3.2 with this file configuration and work correctly, the
client dont receive the backend port. Why ?

I readed CHANGELOG for pound 2.4.4:
              -"fixed redirection problem (missing slash in
Location/Content-location)"

Thanks !


--
To unsubscribe send an email with subject unsubscribe to [email protected].
Please contact [email protected] for questions.

Reply via email to