Re: [Zope] Link scanning, former: Fitting Zope into publishing process
On Thu, 27 Jan 2000 14:33:17 -0800 (PST) John Eikenberry <jae@kavi.com> wrote:
On Thu, 27 Jan 2000, Ragnar Beer wrote:
I tried Linbot 1.0 and generally think it's great. The problem I had with it was that it would ONLY check remote sites but not my zope test machine http://localhost for whatever reason. Only the root url was displayed in the report. I tried pylice which is also written in python but it also refused to scan my localhost. Then I tried to scan from an external machine - same thing! The same content server as static pages from apache: works. Could that be a zope issue?
I too have had this problem. And it also happens with some of the other (perl based) link checkers.
Try instead pointing it at the FQDN for your machine instead of localhost. Why? Most likely because gethostbyname() doesn't resolve for localhost. -- J C Lawrence Home: claw@kanga.nu ----------(*) Other: coder@kanga.nu --=| A man is as sane as he is dangerous to his environment |=--
On Thu, 27 Jan 2000, J C Lawrence wrote:
On Thu, 27 Jan 2000 14:33:17 -0800 (PST) John Eikenberry <jae@kavi.com> wrote:
On Thu, 27 Jan 2000, Ragnar Beer wrote:
I tried Linbot 1.0 and generally think it's great. The problem I had with it was that it would ONLY check remote sites but not my zope test machine http://localhost for whatever reason. Only the root url was displayed in the report. I tried pylice which is also written in python but it also refused to scan my localhost. Then I tried to scan from an external machine - same thing! The same content server as static pages from apache: works. Could that be a zope issue?
I too have had this problem. And it also happens with some of the other (perl based) link checkers.
Try instead pointing it at the FQDN for your machine instead of localhost. Why? Most likely because gethostbyname() doesn't resolve for localhost.
FQDN or localhost doesn't matter... it doesn't work with either. I've tried. Has anyone gotten a link checker to work with Zope? If so, which one, and how did you set it up. Thanks, --- John Eikenberry [jae@kavi.com - http://zhar.net/] ______________________________________________________________ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B. Franklin
Has anyone gotten a link checker to work with Zope? If so, which one, and how did you set it up.
We use LinkBot Pro (http://www.linkbot.com) from Watchfire here. The only potential problem with LinkBot is that it costs money. I evaluated several other free link checkers. I don't think I could get anything other than LinkBot to work to my satisfaction. The setup is very straightforward -- I don't think you'll have any trouble with it. Good luck, Ben
On Thu, 27 Jan 2000, Ben Glazer wrote:
Has anyone gotten a link checker to work with Zope? If so, which one, and how did you set it up.
We use LinkBot Pro (http://www.linkbot.com) from Watchfire here. The only potential problem with LinkBot is that it costs money.
I evaluated several other free link checkers. I don't think I could get anything other than LinkBot to work to my satisfaction. The setup is very straightforward -- I don't think you'll have any trouble with it.
Actually, I think I'm just going to go with a hacked version of webchecker. It works fine on Zope sites and every other of our sites I've tried it on. And it was easy to hack to add support for basic authentication (the only thing it lacked that I needed). So if anyone just needs basic link checking for Zope, just use webchecker. If anyone wants my authentication hack, let me know. --- John Eikenberry [jae@kavi.com - http://zhar.net/] ______________________________________________________________ "A society that will trade a little liberty for a little order will deserve neither and lose both." --B. Franklin
That's what I also thought but it didn't have any effect. After that I tried scanning with FQDN from another Machine but on the same (class c) subnet: same thing. Only the top-level document appears. That's why I think it could be a zope issue. Ragnar
Try instead pointing it at the FQDN for your machine instead of localhost. Why? Most likely because gethostbyname() doesn't resolve for localhost.
participants (4)
-
Ben Glazer -
J C Lawrence -
John Eikenberry -
Ragnar Beer