To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.admin.generalOpen lugnet.admin.general in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 Administrative / General / 5518
5517  |  5519
Subject: 
Re: errr... 403 Forbidden?
Newsgroups: 
lugnet.admin.general
Date: 
Sun, 26 Mar 2000 04:41:33 GMT
Viewed: 
799 times
  
Kevin Salm wrote:

In lugnet.admin.general, Dan Boger writes:
Todd?  Is it on purpose that when I try to do

get('http://www.lugnet.com');

I get forbidden?  Am I being blocked? ;)  My scripts just use Lugnet as
the definitive source of Lego sets...  Could it be that when you split
the main page according to browser type, you didn't set a default one
for non MSIE/Mozilla browsers?  It does work fine with lynx, btw...

:)

Dan

Get rid of those quote marks and you should be fine.  The trailing one is
especially bugging up.  As you typed it, it dos not work for me.  Entered
manually in Netscape v.4.51 works perfect for me.

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 http://www.lugnet.com I get a forbidden responce...
:/

Again, sorry for the confusion.

Dan



Message has 2 Replies:
  Re: errr... 403 Forbidden?
 
(...) 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?
 
(...) 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)

Message is in Reply To:
  Re: errr... 403 Forbidden?
 
(...) Get rid of those quote marks and you should be fine. The trailing one is especially bugging up. As you typed it, it dos not work for me. Entered manually in Netscape v.4.51 works perfect for me. __Kevin Salm__ (25 years ago, 26-Mar-00, to lugnet.admin.general)

14 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR