[dw-free] Webserver error logs
[commit: http://hg.dwscoalition.org/dw-free/rev/2530f9f773f5]
http://bugs.dwscoalition.org/show_bug.cgi?id=548
Fix AtomAPI with Apache2 changes.
Patch by
exor674.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=548
Fix AtomAPI with Apache2 changes.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/Apache/LiveJournal/Interface/AtomAPI.pm
-------------------------------------------------------------------------------- diff -r 3f8131e94e28 -r 2530f9f773f5 cgi-bin/Apache/LiveJournal/Interface/AtomAPI.pm --- a/cgi-bin/Apache/LiveJournal/Interface/AtomAPI.pm Tue Apr 14 07:31:36 2009 +0000 +++ b/cgi-bin/Apache/LiveJournal/Interface/AtomAPI.pm Tue Apr 14 07:34:07 2009 +0000 @@ -72,7 +72,6 @@ HTML $type = $mime{$type} || 'text/html'; $r->status_line("$status $msgs{$status}"); $r->content_type($type); - $r->send_http_header(); $r->print($out); return OK; }; @@ -553,7 +552,8 @@ sub handle_feed { # authentication, calls the appropriate method handler, and # prints the response. sub handle { - my $r = shift; + # FIXME: Move this up to caller(s). + my $r = DW::Request->get; return respond($r, 404, "This server does not support the Atom API.") unless LJ::ModuleCheck->have_xmlatom; --------------------------------------------------------------------------------