This looks like a bug (or at least an implementation oversight) to me. Send POST request to https://URL 302 Response with location https://URL/ Send GET request to https://URL/
Richard, try changing your wget command line to include the trailing slash. Tony -----Original Message----- From: Richard Emanilov [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 2:17 PM To: Mauro Tortonesi Cc: Tony Lewis; wget@sunsite.dk; [EMAIL PROTECTED] Subject: RE: help!!! /usr/local/bin/wget -dv --post-data="login=login&password=password" https://login:[EMAIL PROTECTED]:8443/ft DEBUG output created by Wget 1.9.1 on linux-gnu. --17:11:35-- https://login:[EMAIL PROTECTED]:8443/ft => `ft' Connecting to ip... connected. Created socket 3. Releasing 0x8123110 (new refcount 0). Deleting unused 0x8123110. ---request begin--- POST /ft HTTP/1.0 User-Agent: Wget/1.9.1 Host: ip:8443 Accept: */* Connection: Keep-Alive Authorization: Basic cm9zZW46Y3VybHlx Content-Type: application/x-www-form-urlencoded Content-Length: 30 [POST data: login=login&password=passwd] ---request end--- HTTP request sent, awaiting response... HTTP/1.1 302 Moved Temporarily Location: https://login:[EMAIL PROTECTED]:8443/ft Content-Length: 0 Date: Mon, 21 Mar 2005 22:11:35 GMT Server: Apache-Coyote/1.1 Connection: Keep-Alive Registered fd 3 for persistent reuse. Location: https://ip:8443/ft/ [following] Closing fd 3 Releasing 0x81359a0 (new refcount 0). Deleting unused 0x81359a0. Invalidating fd 3 from further reuse. --17:11:35-- https://ip:8443/ft/ => `index.html' Connecting to ip:8443... connected. Created socket 3. Releasing 0x8118718 (new refcount 0). Deleting unused 0x8118718. ---request begin--- GET /ft/ HTTP/1.0 User-Agent: Wget/1.9.1 Host: ip:8443 Accept: */* Connection: Keep-Alive ---request end--- HTTP request sent, awaiting response... HTTP/1.1 401 Unauthorized WWW-Authenticate: Basic realm="Portfolio Viewer" Content-Type: text/html;charset=ISO-8859-1 Content-Language: en-US Date: Mon, 21 Mar 2005 22:11:35 GMT Server: Apache-Coyote/1.1 Connection: close Closing fd 3 Authorization failed. Again, I'd like to thank you guys so much, made some progress, any og you guys familiar with this issue? -----Original Message----- From: Mauro Tortonesi [mailto:[EMAIL PROTECTED] Sent: Monday, March 21, 2005 4:11 PM To: Richard Emanilov Cc: Tony Lewis; wget@sunsite.dk; [EMAIL PROTECTED] Subject: Re: help!!! On Monday 21 March 2005 02:22 pm, Richard Emanilov wrote: > Guys, > > > Thanks so much for your help, when running > > wget --http-user=login --http-passwd=passwd > --post-data="login=login&password=passwd" https://site > > With version 1.9.1, I get the error message > > "Site: Unsupported scheme." have you compiled wget with SSL support? -- Aequam memento rebus in arduis servare mentem... Mauro Tortonesi University of Ferrara - Dept. of Eng. http://www.ing.unife.it Institute of Human & Machine Cognition http://www.ihmc.us Deep Space 6 - IPv6 for Linux http://www.deepspace6.net Ferrara Linux User Group http://www.ferrara.linux.it