projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0636696
)
403 forbidden is okay, at lest the server's up
author
ivan
<ivan>
Sat, 21 Mar 2009 23:32:27 +0000
(23:32 +0000)
committer
ivan
<ivan>
Sat, 21 Mar 2009 23:32:27 +0000
(23:32 +0000)
FS/FS/Cron/check.pm
patch
|
blob
|
history
diff --git
a/FS/FS/Cron/check.pm
b/FS/FS/Cron/check.pm
index
39dd168
..
9a415bd
100644
(file)
--- a/
FS/FS/Cron/check.pm
+++ b/
FS/FS/Cron/check.pm
@@
-65,7
+65,7
@@
sub check_apache {
my $req = new HTTP::Request GET => 'https://localhost/';
my $res = $ua->request($req);
- return 1 if $res->is_success;
+ return 1 if $res->is_success
|| $res->status_line =~ /^403/
;
$error_msg = $res->status_line;
return 0;