Gossamer Forum
Home : Products : Links 2.0 : Installation -- Windows :

Verifying Links with HTTP Proxy

Quote Reply
Verifying Links with HTTP Proxy
Thus far I have had great results installing Links, but (there is always a but) I can not seem to get Link Verification to work. I have version 522 of ActivePerl installed and all my other scripts that use a proxy work fine. When I try to verify links I get the following:

--------------------------------------------
Link checking started at: Sat Jan 29 09:40:33 2000
--------------------------------------------------------
Registering URLs ...

Done.

Links to check '4' using HEAD method. Please be patient...

Checked 5 - Request Failed (302). Message: Object Moved. URL: http://www.the-bbs.com/users
Checked 3 - Request Failed (404). Message: Object Not Found. URL: http://www.the-bbs.com/users/bgaddis
Checked 2 - Request Failed (302). Message: Object Moved. URL: http://www.the-bbs.com/users/canada
Checked 1 - Request Failed (302). Message: Object Moved. URL: http://www.the-bbs.com/users/troop2209

Took: 1 seconds to check 4 links.

Bad Link Summary
-----------------------------------------------
3 - http://www.the-bbs.com/users/bgaddis [modify|delete] : 404 - Object Not Found
2 - http://www.the-bbs.com/users/canada [modify|delete] : 302 - Object Moved
1 - http://www.the-bbs.com/users/troop2209 [modify|delete] : 302 - Object Moved
5 - http://www.the-bbs.com/users [modify|delete] : 302 - Object Moved

-----------------------------------------------

Good Links: 0
Bad Links : 4
--------------------------------------------

My proxy settings in nhp-verify.cgi are

--------------------------------------------
# proxy server, or try manually by setting:
# $ENV{'HTTP_PROXY'} = "http://host";
# $checker->env_proxy(); # Set up any proxy settings from environment.

$ENV{'HTTP_PROXY'} = "http://10.1.1.1:8080";
$checker->env_proxy(); # Set up any proxy settings from environment.
--------------------------------------------

Any help would be appreciated.

Kraken

# Please do not change the user agent.
Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
The script seems to be working at least partially going through your list of links.

Suggestion: Upgrade your Perl Package to 5.005 with all current modules.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
Eliot,

I am running Perl Version 5.005_03. I upgraded to this release to try and correct the problem, but no dice. I am still messing with the HTTP_Proxy settings and have gotten all kinds of strange results except what I am after.

I'll let you know if I get something usefull.

Bert
Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
One suggestion...put the nph-verify.cgi script outside of your PROXY. Then re-map the directories in the required files to the directory where your LINKS cgi-bin files reside. This will work if the PROXY server is on the same server as your regular server.

If not, then you can possibly use NET:FTP to connect to your database.

Another solution...get a third party software program that checks URLs/links on pages.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
Eliot,

Thanks for your help. I found my problem, my DNS forwarder was not configured properly.

Just Love Links 2.0, it is probably one of the best documented and supported internet apps I have come across.

Regards,
Bert
Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
Good...That damn DNS! Wink

Wish there was a better method of naming domains! Tricky bugger, isn't?

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------








Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
Sure is, especially when you are using a proxy, non-routable IPs on one side and registered IPs on the other. Makes for a very interesting hobby.

Thanks for your help though, I enjoy reading your replies to some of the users in the Links forums. Keep up the good work.

Bert
Quote Reply
Re: Verifying Links with HTTP Proxy In reply to
Thanks. That is a problem...I am glad I no longer work in an IT department. Being a full time researcher with a Fortune 500 Company is more my speed.

Regards,

------------------
Eliot Lee
Anthro TECH,L.L.C
www.anthrotech.com
* Be sure to visit the Resource Center for FAQ's, Modifications and Extra Goodies!!
* Search Forums!
* Say NO to Duplicate Threads. :)
----------------------