You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2014/07/21 11:22:55 UTC
[Bug 52403] FallbackResource doesn't work for non-existent PHP files
in webroot
https://issues.apache.org/bugzilla/show_bug.cgi?id=52403
--- Comment #5 from Richard George <ri...@phase.org> ---
This (or a very similar) issue causes OSX clients ONLY to fail to connect to
virtual hosts configured with any DirectoryIndex line together with a
FallbackResource line, unless "DirectoryIndex disabled" is used.
This has been tested with the following clients:
OSX 10.9.4 Firefox 30.0 - FAILS
OSX 10.9.4 Safari 7.0.5 - FAILS
OSX 10.9.4 command-line telnet port 80 - FAILS
Ubuntu 14.04 links (command-line browser) - WORKS
Ubuntu 14.04 command-line telnet port 80 - WORKS
Windows 7 Firefox 30.0 - WORKS
All working machines were VirtualBox VMs inside the OSX boxes. When the page
loads, it loads instantly, when it fails, it never connects and eventually
times out.
The following server config shows the problem. Server is Ubuntu 14.04 64 bit,
Apache 2.4.7-1ubuntu4 on an AWS EC2 t2.small instance
<VirtualHost *:80>
ServerName tdd-deciphered.com
ServerAlias tddd.ec2.phase.org
ServerAdmin webmaster@localhost
# OSX clients cannot connect when these DirectoryIndex directives are missing
DirectoryIndex disabled
DirectoryIndex index.php
DocumentRoot /home/wechsler/repos/tdd-deciphered/web/
<Directory />
Options +FollowSymLinks
AllowOverride None
</Directory>
<Directory /home/wechsler/repos/tdd-deciphered/web>
# OSX clients cannot connect when this directive is used
# DirectoryIndex index.html index.php
Options +Indexes +FollowSymLinks +MultiViews
AllowOverride All
Require all granted
FallbackResource /index.php
</Directory>
ErrorLog ${APACHE_LOG_DIR}/tdd-error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/tdd-access.log combined
</VirtualHost>
This particular issue would appear to be a doozy of an edge case
--
You are receiving this mail because:
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org