| | Re: errr... 403 Forbidden? Dan Boger
|
| | (...) sorry - I should have posted the whole script: #!/usr/local/bin/perl use LWP::Simple qw/getprint/; $url = shift || dir "No URL."; $|=1; getprint($url); and if I run it with (URL) I get a forbidden responce... :/ Again, sorry for the confusion. (...) (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | |
| | | | Re: errr... 403 Forbidden? Kevin Loch
|
| | | | (...) Don't you need a trailing / ? I remember a long time ago www.lugnet.com (or was it fibblesnork.com?) would bring up an annoying error message while www.lugnet.com/ would bring up the correct page. I think Todd was trying to make some silly (...) (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | | | |
| | | | | | Re: errr... 403 Forbidden? Dan Boger
|
| | | | | (...) well, the thing is - it _used_ to work... but just in case, I tried it with a trailing slash, and still, 403... :/ Dan (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | | | | |
| | | | Re: errr... 403 Forbidden? Todd Lehman
|
| | | | (...) There's the problem. LWP::Simple is in the list of blocked user agents. (Has been since 1998.) --Todd (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | | | |
| | | | | | Re: errr... 403 Forbidden? Dan Boger
|
| | | | (...) this is very strange.... it used to work - as recently as last week! I'm pretty sure I didn't modify anything recently... nope, mtime is Mar 13th, and that was just an error checking... I guess I could set the UA to be something else... (...) (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | | | |
| | | | | | Re: errr... 403 Forbidden? Todd Lehman
|
| | | | (...) I see a whole bunch of hits from "lwp-trivial/1.32" but none from "LWP::Simple" except the ones tonight. (If that helps.) (...) Hmmm. Maybe it would be safest for you to set it to something containing your name, or something having to do with (...) (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | | | |
| | | | | | Re: errr... 403 Forbidden? Dan Boger
|
| | | | (...) well, like I said, I set it to "LugnetReader" - I think that might ring a bell ;) Dan (25 years ago, 26-Mar-00, to lugnet.admin.general)
|
| | | | |