Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 34786

Summary: recent (Nov 30) apache/php/squirrelmail breaks, header("Location: src/login.php") not picking up
Product: Gentoo Linux Reporter: Heitzso <heitzso>
Component: [OLD] ServerAssignee: Gentoo Web Application Packages Maintainers <web-apps>
Severity: major    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Package list:
Runtime testing required: ---

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.