/ Zope / Apsis / Pound Mailing List / Archive / 2007 / 2007-02 / https trailing slash problem

[ << ] [ >> ]

[ / mario.kleinsasser(at)bauholding.com ] [ RE: [Pound Mailing List] Https redirection ... ]

https trailing slash problem
mario.kleinsasser(at)bauholding.com
2007-02-28 14:18:09 [ FULL ]
hello!

i have the following problem in my pound configuration. i want to use pound
in https mode.

so everything works fine if i use the trailing slash.

an example:

https://myserver/test/ -> works
https://myserver/test -> works not will
be redirected to
http://myserver/test/

so i have deactivated the http listener.
if i try again with the same requests i got an connection refuses.

i append an wget output so you can see that i go redirected to port 80. (i
deleted my server names)

wget https://myserver/portal
--14:13:36--  https://myserver/portal
           => `portal'
Resolving myserver... 10.200.30.5
Connecting to myserver|10.200.30.5|:443... connected.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: http://myserver/portal/
[following]
--14:13:36--  http://myserver/portal/
           => `index.html'
Connecting to myserver|10.200.30.5|:80... failed: Connection refused.
Resolving myserver... 10.200.30.5
Connecting to myserver|10.200.30.5|:80... failed: Connection refused.

if i use the ip adress in my request everything works fine:

wget --no-check-certificate https://10.200.30.5/portal
--14:17:32--  https://10.200.30.5/portal
           => `portal'
Connecting to 10.200.30.5:443... connected.
WARNING: certificate common name `myserver' doesn't match requested host
name `10.200.30.5'.
HTTP request sent, awaiting response... 302 Moved Temporarily
Location: https://10.200.30.5/portal/
[following]
--14:17:32--  https://10.200.30.5/portal/
           => `index.html'
Connecting to 10.200.30.5:443... connected.
WARNING: certificate common name `myserver' doesn't match requested host
name `10.200.30.5'.
HTTP request sent, awaiting response... 200 OK
Length: 81 [text/html]

100%[=================================================================================================================>]
 81            --.--K/s

14:17:32 (1.58 MB/s) - `index.html' saved [81/81]

any ideas? thant you for your help!

best regards mario
Attachments:  
text.html text/html 2666 Bytes

RE: [Pound Mailing List] https trailing slash problem [solution]
mario.kleinsasser(at)bauholding.com
2007-02-28 16:27:16 [ FULL ]
hello!

after reading forward in the nmailing list, i found that some users have
problems with the dns records.
so i have fixed my hosts entries in the testing enviroment because the
pound is currently not resolved via dns.

after fixing the hosts entry on the pound server the https:// request are
working without the trailing slash as i want.

if this could be gone into the README as an notice this would be great
because some other people are having the same problems.

best regards!
Attachments:  
text.html text/html 559 Bytes

MailBoxer