Scoop -- the swiss army chainsaw of content management
Front Page · Everything · News · Code · Help! · Wishlist · Project · Scoop Sites · Dev Notes · Latest CVS changes · Development Activities
Bleeding edge Gentoo semi-success story Announcements
By Captain Squal , Section Help! []
Posted on Tue Oct 07, 2003 at 12:00:00 PM PST
I seem to finally have gotten everything to work under Apache2, Modperl 2 and perl 5.8.1...  Everything so far except one wierd thing.  Logging out does not work.  The error log gives me something like this:  

[Tue Oct 07 07:15:13 2003] [error] [client 192.168.1.1] Can't locate object meth
od "header_out" via package "Apache::RequestRec" at (eval 28) line 10.
, referer: http://scoop.myserver.net/

I changed the referer URL because the site is not yet solid enough to recieve visitors.  The problem seems to kill mod_perl, though I can't state that as a fact.

From reading elsewhere (and I'm no Perl coder), I found that apparently, 'header_out' is obsolete in mod_perl-2 and 'headers_out' should be used instead.  I don't really know what that means or implies, but I figured it could provide clues for someone who does know Perl and is faced with this problem.

I'll try to come back with more details later if anyone is interested.

< Sub-sections | Daily Kos is now on Scoop >

Menu
· create account
· faq
· search
· report bugs
· Scoop Administrators Guide
· Scoop Box Exchange

Login
Make a new account
Username:
Password:

Related Links
· Scoop
· More on Announcements
· Also by Captain Squal

Story Views
  37 Scoop users have viewed this story.

Display: Sort:
Bleeding edge Gentoo semi-success story | 3 comments (3 topical, 0 hidden)
Patch (none / 0) (#1)
by hulver on Tue Oct 07, 2003 at 01:15:14 PM PST

You need to edit the "logout_box"

$S->{APACHE}->headers_out->{'Location'} = "$logout_url";

Is the correct line (it should be obvious which one to replace).


-- HuSi - It's what scoop's for.



yea, (none / 0) (#3)
by pb on Thu Oct 09, 2003 at 08:19:35 AM PST

I got it working under Gentoo as well, thanks to some help in #scoop, and Hulver's pages on the subject. I don't know if logging out is broken in mine or not, I guess I should try it sometime. :)



Bleeding edge Gentoo semi-success story | 3 comments (3 topical, 0 hidden)
Display: Sort:

Hosted by ScoopHost.com Powered by Scoop
All trademarks and copyrights on this page are owned by their respective companies. Comments are owned by the Poster. The Rest © 1999 The Management

create account | faq | search