Igor Gariev (gariev) wrote in changelog,
Igor Gariev
gariev
changelog

[livejournal] r18820: Minor changes.

Committer: gariev
Minor changes.
TODO: add more command line options
U   trunk/bin/web_servers_uptime.pl
Modified: trunk/bin/web_servers_uptime.pl
===================================================================
--- trunk/bin/web_servers_uptime.pl	2011-04-07 08:34:29 UTC (rev 18819)
+++ trunk/bin/web_servers_uptime.pl	2011-04-07 10:28:59 UTC (rev 18820)
@@ -28,7 +28,7 @@
     my $server = shift;
     
     my $request = HTTP::Request->new('GET' => "http://$server/uptime.bml");
-    $request->header(Host => 'www.lj-6.bulyon.local');
+    $request->header(Host => 'www.livejournal.com');
     my $ua = LWP::UserAgent->new;
     my $response = $ua->request($request);
     my $content = $response->content;

Tags: gariev, livejournal, pl
Subscribe
  • Post a new comment

    Error

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments