[Bug 1394403] Re: RewriteRule of "^$" is broken

2018-06-19 Thread Andreas Hasenack
Upstream bug is fix released, and states that the fix is available in apache 2.4.9. Trusty has 2.4.7 atm. -- You received this bug notification because you are a member of Ubuntu Server, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of "^$"

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-24 Thread Robie Basak
@Matthias It would have been nice if you could have verified the proposed package as instructed in the bug, rather than waiting for the update to be released first! Let's re-open the Trusty task on the basis of your comment. Presumably the test case Wesley determined does not cover your failure

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-24 Thread Robie Basak
Actually Incomplete is probably more appropriate, since we don't have a reproducer right now. ** Changed in: apache2 (Ubuntu Trusty) Status: New => Incomplete -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report.

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-24 Thread Matthias Ferdinand
Hi, apparently only part of the fix was included, http://svn.apache.org/viewvc?view=revision=1557641 seems to be missing. That is the part that keeps mod_dir from firing when mod_rewrite just fired. Rewrites in .htaccess are still affected after upgrade to 2.4.7-1ubuntu4.6. Matthias -- You

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-24 Thread Matthias Ferdinand
To reproduce (s. attachment): vhost bla.conf (requires a2enmod proxy_http) enables RewriteEngine/RewriteLogging and Proxy DocumentRoot /var/www/bla /var/www/bla/.htaccess: RewriteRule ^(.*)$ http://10.110.110.29/$1 [P] no other files in /var/www/bla/ request / (as in attached

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-24 Thread Wesley Wiedenmeier
Thanks for the test case, that works really well. Sorry that the next commit in upstream was not included in the SRU, I should have caught that. At the version that's in the repos now I do see a change in behaviour in the log files between when 'DirectoryCheckHandler Off' is set and when it is

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-23 Thread Launchpad Bug Tracker
This bug was fixed in the package apache2 - 2.4.7-1ubuntu4.6 --- apache2 (2.4.7-1ubuntu4.6) trusty; urgency=medium * d/p/fix_rewrite_rule.patch: Add a configurable option to keep mod_dir from running when another handler is set. This makes default behavior consistant with

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-18 Thread Mathew Hodson
** Tags removed: apache rewrite verification-needed ** Tags added: trusty verification-done -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of "^$" is broken

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-15 Thread Wesley Wiedenmeier
I can confirm that the package in trusty-proposed resolves the issue for me in a trusty vm with the default values set. I think it should be good to go into trusty-updates. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-15 Thread Marc Deslauriers
Wesley, have you gotten a chance to test the package in trusty-proposed? -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of "^$" is broken To manage

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-02 Thread Chris J Arges
Hello Matthias, or anyone else affected, Accepted apache2 into trusty-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/apache2/2.4.7-1ubuntu4.6 in a few hours, and then in the -proposed repository. Please help us by testing this new package. See

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-01 Thread Wesley Wiedenmeier
Awesome, thanks! -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of "^$" is broken To manage notifications about this bug go to:

[Bug 1394403] Re: RewriteRule of "^$" is broken

2015-09-01 Thread Robie Basak
The updated debdiff looks great. I particularly appreciate the very clearly written changelog that explains exactly what the deal is with the new directive, the behaviour change and the default. Uploaded - thank you! SRU team: please note the behaviour change. We've concluded that it's OK (I'm

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-30 Thread Wesley Wiedenmeier
** Description changed: [Test Case] Setup Apache 2.4.7 * mod_rewrite * mod_ajp * mod_dir Tomcat * Listening on Port 9001 Apache with a .htaccess in the example.net VirtualHost - RewriteEngine On - RewriteRule ^(.*)$ ajp://localhost:9001/$1 [P] - +   

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-26 Thread Robie Basak
Thanks Wesley, this looks good. Some minor changes please: 1) Please could you add an Origin: header to the debdiff? Something like Origin: upstream, https://github.com/apache/httpd/commit/f0529e54b8d889322b5113eb623e263556bfa28e; or Origin: backport,

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-18 Thread Marc Deslauriers
NACK on the debdiff. It doesn't use the actual fix that went into Apache 2.4. It uses a proposed patch from the bug that wasn't the way it was ultimately fixed. Please prepare a new debdiff with the following commit: https://github.com/apache/httpd/commit/f0529e54b8d889322b5113eb623e263556bfa28e

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-18 Thread Wesley Wiedenmeier
Replaced the debdiff with one that uses the fix from apache 2.4 https://github.com/apache/httpd/commit/f0529e54b8d889322b5113eb623e263556bfa28e ** Patch removed: trusty-sru-debdiff

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-17 Thread Wesley Wiedenmeier
Attaching debdiff with patch applied. ** Attachment added: trusty-sru-debdiff https://bugs.launchpad.net/ubuntu/trusty/+source/apache2/+bug/1394403/+attachment/4445979/+files/trusty-sru-debdiff ** Description changed: + [Test Case] + + Setup + Apache 2.4.7 + * mod_rewrite + * mod_ajp + *

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-17 Thread Wesley Wiedenmeier
Updated Description for SRU proposal. -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of ^$ is broken To manage notifications about this bug go to:

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-11 Thread Wesley Wiedenmeier
** Changed in: apache2 (Ubuntu Trusty) Assignee: (unassigned) = Wesley Wiedenmeier (wesley-wiedenmeier) -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-11 Thread Robie Basak
** Tags removed: server-next -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of ^$ is broken To manage notifications about this bug go to:

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-10 Thread Robie Basak
** Tags added: server-next -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of ^$ is broken To manage notifications about this bug go to:

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-08-07 Thread Robie Basak
** Tags added: bitesize -- You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to the bug report. https://bugs.launchpad.net/bugs/1394403 Title: RewriteRule of ^$ is broken To manage notifications about this bug go to:

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-07-27 Thread gav
This bug is truly a pain, it really needs to be fixed. The only acceptable workaround is not to use Apache 2.4.9, which really means don't use Trusty (unfortunately it can't die off soon enough ... it's LTS and it's everywhere now). This is real misery to support. -- You received this bug

[Bug 1394403] Re: RewriteRule of ^$ is broken

2015-04-30 Thread indero
[Test Case] Setup Apache 2.4.7 * mod_rewrite * mod_ajp * mod_dir Tomcat * Listening on Port 9001 Apache with a .htaccess in the example.net VirtualHost RewriteEngine On RewriteRule ^(.*)$ ajp://localhost:9001/$1 [P] Expected: Return from Tomcat HTTP Status 404 - / Reality: Return