Public bug reported: Binary package hint: apache2
When mod proxy is used with the nocanon option apache duplicates the query string arguments in the URL. This is a known bug in 2.2.8 and was fixed in 2.2.9, c.f.: <https://issues.apache.org/bugzilla/show_bug.cgi?id=44803> <http://mail-archives.apache.org/mod_mbox/httpd-cvs/200806.mbox/%3c20080605124644.4cb3e2388...@eris.apache.org%3e> To reproduce: 1) Create an apache.conf file, e.g. like: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% LoadModule proxy_module /usr/lib/apache2/modules/mod_proxy.so LoadModule proxy_http_module /usr/lib/apache2/modules/mod_proxy_http.so Listen 5555 ErrorLog /dev/null PidFile /dev/null ProxyPass / http://127.0.0.1:8000/ nocanon ProxyPassReverse / http://127.0.0.1:8000/ %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Then run apache with it, e.g. apache2 -X -f apache.conf 2) run 'python -m SimpleHTTPServer' in another terminal/window/whatever 3) finally run 'wget -q -O /dev/null http://localhost:5555/foo?bar' in another terminal Output from hardy(-updates) apache: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% localhost - - [19/Oct/2009 23:16:09] code 404, message File not found localhost - - [19/Oct/2009 23:16:09] "GET /foo?bar?bar HTTP/1.1" 404 - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Expected output: %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% localhost - - [19/Oct/2009 23:16:34] code 404, message File not found localhost - - [19/Oct/2009 23:16:34] "GET /foo?bar HTTP/1.1" 404 - %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Attached is a dpatch which we're using in production and fixes the issue for us. Could we please get an SRU with this for hardy? ** Affects: apache2 (Ubuntu) Importance: Undecided Status: New -- mod proxy causes duplicate query strings when nocanon option is used https://bugs.launchpad.net/bugs/455873 You received this bug notification because you are a member of Ubuntu Server Team, which is subscribed to apache2 in ubuntu. -- Ubuntu-server-bugs mailing list Ubuntu-server-bugs@lists.ubuntu.com Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs