Apache2 with PHP FallbackResource doesn't work when Request-URI is / and encoding is gzip
This bug report will be marked for expiration in 32 days if no further activity occurs. (find out why)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apache2 (Ubuntu) |
Incomplete
|
Medium
|
Unassigned |
Bug Description
Installed packages:
apache2-mpm-prefork (2.2.22-6ubuntu2.2)
libapache2-mod-php5 (5.4.6-1ubuntu1.2)
Steps to reproduce:
1. Allow option override on /var/www
2. Remove /var/www/index.html
3. Create /var/www/index.php with any content (e.g. <?php echo $_SERVER[
4. Create /var/www/.htaccess with FallbackResource /index.php
5. Go to http://
6. Go to http://
Either disabling FallbackResource or gzip encoding solve the issue, so I assume is the combination of the two to cause the problem.
description: | updated |
summary: |
Apache2 with PHP FallbackResource doesn't work when Request-URI is / and - Content-Encoding is gzip + encoding is gzip |
Changed in apache2 (Ubuntu): | |
importance: | Undecided → Medium |
Having "DirectoryIndex index.php" on the .htaccess file solves the issue. It seems the default Apache DirectoryIndex is causing the problem when index.php is not the first default index document.