FW: cannot log on to Oracle portal/apache - full request - ignore previous
That helps too, thanks. We tried to upgrade to 1.11.1 today. Unix admin has run into some problems installing it. I normally get a pre-compiled depot because it is easier. I installed 1.11.1 from a reliable depot, but it did not work. I had to create a couple of links to libraries, but in the end something is missing. So then I got the source for 1.11.1 and tried to compile that. I am running into a parse error with that. We currently have gcc version 3.2 on our systems. The latest is 4.2.X, but I am un-willing to install that as we are using some programs compiled with v3.2 and do not want to break those. What version of WGET works with gcc 3.2? Please cc me as I am not on the mailing list. Thanks, Kevin -Original Message- From: Charles [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 26, 2008 8:33 PM To: Kevin Low Cc: wget@sunsite.dk Subject: Re: cannot log on to Oracle portal/apache - full request - ignore previous On Wed, Mar 26, 2008 at 11:17 PM, [EMAIL PROTECTED] wrote: Can you help me figure out how to use wget to log in to this page? Once logged in, I am intending to do a recursive download, or mirror. Normally the steps should be like these: 1. wget --post-data=uname=usernamepwd=password --keep-session-cookies --save-cookies=cookies.txt http://uxspaap1.buffetsinc.com:/pls/portal30/PORTAL30.wwptl_login.lo gin_url 2. wget --load-cookies=cookies.txt -r -l 1 http://the-url-after-login
RE: FW: cannot log on to Oracle portal/apache - full request - ignore previous
Yes, you're correct, Micah, I was not the one who tried to install 1.11.1. I am a database admin; the one who tried to install it is our unix system admin. I will forward your information to him and see if he wants help. I think knowing gcc 3.2 is not the culprit will help. Please cc me as I'm not on the mailing list. Thanks, Kevin -Original Message- From: Micah Cowan [mailto:[EMAIL PROTECTED] Sent: Thursday, March 27, 2008 1:33 PM To: Steven M. Schweda Cc: WGET@sunsite.dk; Kevin Low Subject: Re: FW: cannot log on to Oracle portal/apache - full request - ignore previous -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Steven M. Schweda wrote: From: Kevin.Low I normally get a pre-compiled depot because it is easier. I installed 1.11.1 from a reliable depot, but it did not work. I had to create a couple of links to libraries, but in the end something is missing. So then I got the source for 1.11.1 and tried to compile that. I am running into a parse error with that. ... I'd expect wget 1.10.2 to work, but with no useful description of exactly what you did, or exactly what happened when you did it, it's hard to be confident that anything in particular will work for you. It did not work is not a useful problem description. Similarly, a parse error is not a useful problem description. Yeah, we'd certainly need more to go on. Wget is intended to work on any reasonably ISO C90-compliant build environment (with appropriate POSIX/SUS interfaces available), so there's no particular reason it shouldn't work with GCC 3.2. It's likely that some preprocessor thing went askew; we'd need more information to go by. I gather, though, from the quote marks, that you're not the one who actually attempted compilation; perhaps you can ask whoever did to send a more detailed description of their trouble? Compiling Wget shouldn't require any libraries beyond the system C libraries. It's usually _useful_ to have the OpenSSL and GNU getttext libraries, but these are not required. Wget 1.10.2 (with VMS-related changes) does what I need, so I haven't done much with 1.11[.x] yet. From what I can remember of (plain) 1.11, it didn't seem all that different from 1.10.2. Right, mainly little things. The biggest changes were probably Content-Disposition support, and my small change to HTTP auth. And I understand that --spider got some important fixes, but I haven't played much with that. - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH6+h07M8hyUobTrERAnCxAJ9lCgAiQmbLKn8ykf9gtaOOcaGAGACfX7up Llrbyt72b6u+hka6cffKzN0= =Fkvf -END PGP SIGNATURE-
Re: FW: cannot log on to Oracle portal/apache - full request - ignore pevious
From: Kevin.Low [...] I think knowing gcc 3.2 is not the culprit will help. It probably would, but we don't know that. GCC 3.2 seems to date back to around August 2002, and there were also 3.2.1, 3.2.2, and 3.2.3 over the next several months, so it's certainly pretty old, and it was probably not entirely defect-free. With a transcript showing what happened, someone might be able to assign blame (always the first and most important step in problem resolution). After that, many things are possible. Steven M. Schweda [EMAIL PROTECTED] 382 South Warwick Street(+1) 651-699-9818 Saint Paul MN 55105-2547
cannot log on to Oracle portal/apache - full request - ignore previous
Apologies in advance if this is the 2nd message you recieve on this topic - the first was accidentally sent prior to completion. That being the first, I got a notice from the forum to confirm my email address. I've delayed responding to it, but realize as soon as I respond to a second notice for this email, it will forward both. This is the complete request, then; ignore previous. I wish to use wget to log on to Oracle Portal v. 3.0.9.8.4 (obsolete) using apache 1.3.19 and Oracle single sign on . we are on Wget 1.9.1. using hp-ux 11.11 When I run wget using either --http-user/--http-password form or --post-data='login=userpassword=pwd', I get the same thing: it downloads most of the page. When it gets to the username/password fields, apache returns an authentication code, so we know the user/password is working. Wget tries to use this authentication code as a file name. Apache throws an error that says the filename is too long. Someone here said I should ask you about page tags and how to tell wget to use those. I'm new to all this, so I might need a few hints, but I've figured out what a page tag is. Here is the pertinent source code for the login page: SCRIPT LANGUAGE=JavaScript1.1 !-- Comment out script for old browsers function loginsubmit() { document.LoginForm.uname.value = document.LoginForm.ssousername.value; document.LoginForm.pwd.value = document.LoginForm.password.value; document.LoginForm.ssousername.value = ; document.LoginForm.password.value = ; document.LoginForm.submit(); } //-- /SCRIPT FORM ACTION=[our url]/pls/portal30/PORTAL30.wwptl_login.login_url http://uxspaap1.buffetsinc.com:/pls/portal30/PORTAL30.wwptl_login.l ogin_url METHOD=POST name=LoginForm AutoComplete=Off onSubmit=loginsubmit() INPUT TYPE=hidden NAME=p_requested_url VALUE=[our url]/pls/portal30/PORTAL30.home http://uxspaap1.buffetsinc.com:/pls/portal30/PORTAL30.home INPUT TYPE=hidden NAME=p_cancel_url VALUE=[our url]/pls/portal30/PORTAL30.home http://uxspaap1.buffetsinc.com:/pls/portal30/PORTAL30.home INPUT TYPE=hidden NAME=uname VALUE= INPUT TYPE=hidden NAME=pwd VALUE= TABLE WIDTH=90% BORDER=0 CELLPADDING=0 CELLSPACING=0 TR TD FONT CLASS=OraHeaderSubNOBR/NOBR/FONT BR FONT CLASS=OraInstructionTextFONT class=PortletText1Enter your user name and password to login./FONT/FONT BR BR TABLE ALIGN=center TR TDFONT class=PortletHeading1User Name/FONT/TD TDINPUT TYPE=text NAME=ssousername SIZE=20 MAXLENGTH=80/TD /TR TDFONT class=PortletHeading1Password/FONT/TD TDINPUT TYPE=password NAME=password SIZE=20 MAXLENGTH=255/TD /TR Can you help me figure out how to use wget to log in to this page? Once logged in, I am intending to do a recursive download, or mirror. Please cc me as not on the mailing list. Thanks for your time, Kevin
Re: cannot log on to Oracle portal/apache - full request - ignore previous
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [EMAIL PROTECTED] wrote: I did look at the differences in the versions, but I didn't see much difference for the type of activity I wished to pursue, but if this is an issue for the forum, we can accommodate. Thanks for mentioning it. I read the FAQ looking for latest stable version which I was not able to find there, but I assume is the one you are suggesting, 1.10.2. below. Actually, the very latest release is 1.11.1, which was released this week. But 1.10.2 has been shipping standard on many systems for a couple of years now, which is probably why Steven wondered at your older version. While reading FAQ, there are a few non-specific tech questions that I'd like to ask, which could save us all some time. 1. FAQ item 5.3 states JavaScript not supported currently in wget. Would the source for the HTML that I submitted, starting with SCRIPT LANGUAGE=JavaScript1.1 fall into this unsupported javascript area? Yes, definitely. As to whether that's related to your problem, it's hard to say. My uninformed guess would be that it's not. You say that Apache sends an authentication code, which Wget tries to use as a filename. It's not clear to me what an authentication code is; Wget, however, always uses the filename (plus query) portion of the URL to form the local file's name; and this often runs into problems when the query string is long (the ?foo=barbaz=quux... part of the URL). Is that what you're talking about? If so, then yeah, that's a known issue, which I'm expecting to address in version 1.12. I'm afraid there's not a lot in the way of a workaround, unless you're doing a single request (plus the apparent redirect), in which case the -O (dash capital oh) option may serve for your needs. 2. FAQ item 5.4 states significant redesign of wget will be needed to support multiple simultaneous connections. This is exactly what I needed wget for: To create a load stress on my development server to test a patch. Are you saying, in unix, I cannot mimic 200 users by making that many simultaneous background processes run wget against my server? No; that FAQ item has to do with multiple simultaneous connections for a _single_ invocation of Wget. There's no problem with multiple simultaneous invocations of Wget (except where they are reading/writing to the same files at the same time). - -- Micah J. Cowan Programmer, musician, typesetting enthusiast, gamer, and GNU Wget Project Maintainer. http://micah.cowan.name/ -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.7 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFH6sFQ7M8hyUobTrERApnFAKCMHP0n8TiSJNkVgwf6l1ffEo4lIgCfVimQ nMQQ9tr/njrFjmbV4KEzOGQ= =FNvk -END PGP SIGNATURE-
Re: cannot log on to Oracle portal/apache - full request - ignore previous
On Wed, Mar 26, 2008 at 11:17 PM, [EMAIL PROTECTED] wrote: Can you help me figure out how to use wget to log in to this page? Once logged in, I am intending to do a recursive download, or mirror. Normally the steps should be like these: 1. wget --post-data=uname=usernamepwd=password --keep-session-cookies --save-cookies=cookies.txt http://uxspaap1.buffetsinc.com:/pls/portal30/PORTAL30.wwptl_login.login_url 2. wget --load-cookies=cookies.txt -r -l 1 http://the-url-after-login