[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#408956: marked as done (apache2: PHP4 --> PHP5: DirectoryIndex sometimes doesn't work)



Your message dated Wed, 4 Apr 2007 14:58:54 -0500
with message-id <20070404195854.GE6578@p12n.org>
and subject line Bug#408956: Acknowledgement (apache2: PHP4 --> PHP5: DirectoryIndex sometimes doesn't work)
has caused the attached Bug report 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 I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: apache2
Version: 2.2.3-3.2
Severity: normal


Today I moved from PHP4 to PHP5. With the same configuration, suddenly vhosts referenced 
via a /etc/hosts entry over my local network no longer work. vhosts referenced via a 
standard internet URL continue to work.

For example this virtual host:
<VirtualHost *:80>
        DocumentRoot /var/www/langex
        ServerName www.langex.net
        ServerAlias server langex.net *.langex.net
        ServerAdmin webmaster@localhost
        CustomLog /var/log/apache2/access.log combined
</VirtualHost>

where "server" is pointed at an local network IP in /etc/hosts:

With PHP4 installed both "server" and "langex.net" result in the correct website being 
loaded in the browser, "server" via the local network IP and "langex.net" via the 
internet IP.

With PHP5 loaded "langex.net" continues to work as before. Pointing my browser at 
"server" results in a pop-up window asking if I want to save a file to disk.

For some websites the pop-up window asks if I want to save an "index.php" file (as 
though DirectoryIndex does not work) and for some the file field is blank.

My /etc/apache2/mods-available/dir.conf clearly contains index.php:
<IfModule mod_dir.c>
          DirectoryIndex index.html index.cgi index.pl index.php index.xhtml
</IfModule>

which clearly works for internet URLs like www.langex.net.

-- System Information:
Debian Release: 4.0
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-tp600e.3
Locale: LANG=en_US, LC_CTYPE=en_US (charmap=ISO-8859-1)

Versions of packages apache2 depends on:
ii  apache2-mpm-prefork           2.2.3-3.2  Traditional model for Apache HTTPD

apache2 recommends no packages.

-- no debconf information


--- End Message ---
--- Begin Message ---
[Clayton]
> This bug seems to have been overcome by events/spontaneously
> disappeared a few days after my report, and has since not
> resurfaced. I suggest the bug report be closed.

Closing, thanks for the update.  I have no idea what would cause the
symptoms you saw, but I'm glad it went away on its own.  (:

Peter

Attachment: signature.asc
Description: Digital signature


--- End Message ---

Reply to: