[Bug 783843] New: regression: conf.d/php5.conf does not apply the right handler to all files
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c0
Summary: regression: conf.d/php5.conf does not apply the right
handler to all files
Classification: openSUSE
Product: openSUSE 12.2
Version: Final
Platform: Other
OS/Version: Other
Status: NEW
Severity: Normal
Priority: P5 - None
Component: Apache
AssignedTo: bnc-team-apache@forge.provo.novell.com
ReportedBy: per@computer.org
QAContact: qa-bugs@suse.de
Found By: ---
Blocker: ---
User-Agent: Mozilla/5.0 (X11; Linux i686 on x86_64; rv:11.0)
Gecko/20100101 Firefox/11.0
Hardware: kzinti @ Hetzner
About a week ago, I upgraded our production webserver to 12.2. I had a harddisk
replaced anyway, so it seemed like a good time to move from 12.1 to 12.2.
Unfortunately I was a little too confident in openSUSE, so I didn't check that
the webserver actually still worked. It didn't - it did not invoke the PHP
handler for the right files anymore.
The problem appears to be in conf.d/php5.conf:
Earlier version:
<IfModule mod_php5.c>
AddHandler application/x-httpd-php .php4
AddHandler application/x-httpd-php .php5
AddHandler application/x-httpd-php .php
AddHandler application/x-httpd-php .phtml
AddHandler application/x-httpd-php-source .php4s
AddHandler application/x-httpd-php-source .php5s
AddHandler application/x-httpd-php-source .phps
DirectoryIndex index.php4
DirectoryIndex index.php5
DirectoryIndex index.php
</IfModule>
Version from 12.2:
<IfModule mod_php5.c>
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c1
Marcus Meissner
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c2
--- Comment #2 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c3
Matthias Weckbecker
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c4
--- Comment #4 from Per Jessen
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c5
--- Comment #5 from Matthias Weckbecker
https://bugzilla.novell.com/show_bug.cgi?id=783843
https://bugzilla.novell.com/show_bug.cgi?id=783843#c6
--- Comment #6 from Per Jessen
It only prevents this if you *modify* the sample configuration and expect from it to be something that can never change. The way to go is simply to do it right, e.g. drop your own configuration, name it as you like and make apache load this, instead of the modified, sample one. Apart from that, I've always been recommending a testing system. However, all of this should be discussed with your systems administrator rather than with a bunch of developers in BZ.
We obviously have test-systems, quite a few in fact, but the real problem is that we didn't expect a simple upgrade to screw things up like this. My problem of course, I should have known better. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com