Your message dated Wed, 24 Mar 2010 20:50:50 +0000 (WET)
with message-id <[email protected]>
and subject line Package libapache2-mod-php4 has been removed from Debian
has caused the Debian Bug report #271856,
regarding MultiViews makes PHP pages inaccessible by Googlebot [config patch]
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
271856: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=271856
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: libapache2-mod-php4
Version: 4.3.8-9
Severity: wishlist
Tags: patch

When using Apache with MultiViews enabled for content negociation, some
browser (and a lot of search engines such as Google) can't access php
pages, and receive a "406 Not Acceptable" error from Apache.

The problem appears on clients that send an Accept header such as
"text/html,text/plain,application/xhtml+xml". When apache is looking for
the right file to serve, apache only lookup for files that are of the
listed type and not of type "application/x-httpd-php".

One solution is to change the line

AddType application/x-httpd-php .php

into

AddHandler php-script .php
AddType text/html .php

I don't know the consequences such a change have, so I don't ask you to
change that in /etc/apache2/mods-available/php4.conf. However, adding
such lines as comments could help users to fix the problem. At least I
would have find the solution a lot faster, so I think it would be the
same for other users.

So in short, here is what I suggest for that config file:

# If you use Apache with MultiViews enabled for content negociation, and
# you get complains of 406 errors, you can try to comment the first
# following line, and uncomment the two next ones.
AddType application/x-httpd-php .php
#AddHandler php-script .php
#AddType text/html .php

AddType application/x-httpd-php-source .phps



-- System Information:
Debian Release: 3.1
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.8-rc2
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (ignored: LC_ALL set to 
fr_FR.UTF-8)


--- End Message ---
--- Begin Message ---
Version: 6:4.4.6-2+rm

You filed the bug http://bugs.debian.org/271856 in Debian BTS
against the package libapache2-mod-php4. I'm closing it at *unstable*, but it 
will
remain open for older distributions.

For more information about this package's removal, read
http://bugs.debian.org/428266. That bug might give the reasons why
this package was removed and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues


--- End Message ---

Reply via email to