HI all

getting the following when i try and run this in Apache

Error GETing http://commit.website.com/commit_emea.html: Can't connect
to commit.vmware.com:80 (Bad hostname 'commit.website.com') at
/var/www/cgi-bin/commitCountries2.pl line 21

Troubleshooing done
line 21 is just
$agent->get('http://commit.website.com/commit_emea.html');

when I run this off the command line it runs no problem and does what
it is supposed, to as in output HTML
=> no firewall problem

the file is executable by every one. as in chmod'ed.
=> dont think it is permsions


looking at Apache I have done the following:
Changed the following in the http.conf:
1. ScriptAlias /cgi-bin/ "C:/Program Files/Apache Group/Apache/cgi-bin/"
2. AddHandler cgi-script .cgi
3. AddHandler cgi-script .cgi .pl --- for perl
4. Options FollowSymLinks +ExecCGI


does apache have some type of blocker, to prevent www::mechinse to
run, as this is running fine of the command line, and other perl
scripts are working fine on apache....... I can't think of anything.

Thanks in advance
Pat

-- 
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to