Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 34786 - recent (Nov 30) apache/php/squirrelmail breaks, header("Location: src/login.php") not picking up
Summary: recent (Nov 30) apache/php/squirrelmail breaks, header("Location: src/login.p...
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Server (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Gentoo Web Application Packages Maintainers
Depends on:
Reported: 2003-11-30 17:24 UTC by Heitzso
Modified: 2004-04-23 02:04 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Note You need to log in before you can comment on or make changes to this bug.
Description Heitzso 2003-11-30 17:24:44 UTC
I'm setting up squirrelmail on a new gentoo box.  Apache is 2.x.  PHP works with
Apache because I'm using it elsewhere fine, though I don't use the
header("Location ..."); function call.  The squirrelmail index.php displays as
text.  I assume the header function call isn't inserting the http header into
the stream.  I've put another php file in the same squirrelmail directory and
that php file works fine.  I've checked permissions/owner/etc.  I assume apache
2 glitch.

Reproducible: Always
Steps to Reproduce:
1.emerge apache, mod_php, squirrelmail (assuming you already have courier-imap)
2.browse the squirrelmail site

Actual Results:  
if you are duplicating the problem, you'll see the php text unprocessed instead
of the login screen

Expected Results:  
processed the php header() request, thereby forcing the redirect
Comment 1 Martin Holzer (RETIRED) gentoo-dev 2003-11-30 23:04:33 UTC
which squirrelmail ?
Comment 2 Martin Holzer (RETIRED) gentoo-dev 2003-12-08 03:59:43 UTC
can't reproduce
Comment 3 Martin Holzer (RETIRED) gentoo-dev 2003-12-08 12:51:12 UTC
vi /etc/conf.d/apache2

add -P PHP4

then stop & start apach2
Comment 4 Stuart Herbert (RETIRED) gentoo-dev 2004-04-23 02:04:40 UTC
Closing old bug.