ðòïåëôù 


  áòèé÷ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  óôáôøé 


  ðåòóïîáìøîïå 


  ðòïçòáííù 



ðéûéôå
ðéóøíá












     áòèé÷ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

mod_perl


  • To: nginx-ru@xxxxxxxxx
  • Subject: mod_perl
  • From: Domrachev Ivan <domrachev.ivan@xxxxxxxxx>
  • Date: Tue, 15 Sep 2009 10:07:12 +0400
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:date:from:x-mailer:x-priority :message-id:to:subject:mime-version:content-type :content-transfer-encoding; bh=fprC4j2G9GfR+fqfIOZobHKo1tM0J+0RrDGGqZTmsi4=; b=hd2SFNgBrESCICo++VTQccQP9VE6lIIQOYOnMH1RNo7+/FQcwX0bKF5fou1WgVB1m+ 3egobWiWknIuOFYqnvBxwv7ZoUQvA4P9M/LlJQrw2Y5+oGQkwrgjfEpWhQOQCpRWNlut /MUwU/7eX8Vht+Q41pBRw0mfbxDU9lMD471bw=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=date:from:x-mailer:x-priority:message-id:to:subject:mime-version :content-type:content-transfer-encoding; b=vWApM5Gpzam/+Wdv1hrtd8AMTZSXiqZwhX/95hQboy84T+snioEFVGTNDbKvnWSdE9 FaKDB+/CsdkKmpiF6j17rXfV0YWtEJUpuJ1KmjFpdKQMekDPTSo3lSpIIi0Bz2LS1D6c rRLX+dHBW1FgirwXpgN2xS4f8VLrsKzScuOVs=

ÄÏÂÒÙÊ ÄÅÎØ

ÅÓÔØ
location /check {
 perl 'sub{
  my $r=shift;
  $r->send_http_header("plain/text");
  $r->print("hello!");
  return OK;
 }';
}

ÐÒÉ ÚÁÐÒÏÓÅ /check × ÅÒÏÒ ÌÏÇÁÈ:
2009/09/15 09:56:47 [error] 3801#0: *1 call_sv("sub{
  my $r = shift;
  $r->send_http_header("plain/text");
  $r->print("hello!");
  return OK;
 }") failed: "Undefined subroutine &main::sub{
  my $r = shift;
  $r->send_http_header("plain/text");
  $r->print("hello!");
  return OK;
 } called.", client: 127.0.0.1, server: test.ru, request: "GET /check
 HTTP/1.1", host: "test.ru"


-- 
ó Õ×ÁÖÅÎÉÅÍ,
 Domrachev                          mailto:Domrachev.Ivan@xxxxxxxxx




 




Copyright © Lexa Software, 1996-2009.