Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Itamar Gal
Hey Eric, Thank you for the advice. You hit the nail on the head. The Ubuntu Apache installation comes pre-configured with a catch-all default virtual-host which apparently (as you said) was not inheriting the rewrite settings. Copy-pasting the identical configuration settings into the virtual-hos

Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Yehuda Katz
It also looks from the access log that the request is actually coming with HTTP/1.1: $ sudo tail -1 /var/log/apache2/access.log > 127.0.0.1 - - [25/Oct/2015:18:13:16 +] "GET / HTTP/1.1" 200 402 "-" "curl/7.22.0 (x86_64-pc-linux-gnu) libcurl/7.22.0 OpenSSL/1.0.1 zlib/1.2.3.4 libidn/1.23 libr

Re: [users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Eric Covener
On Mon, Oct 26, 2015 at 9:15 AM, Itamar Gal wrote: > /etc/apache2/conf.d/security Unlike most other settings,. Rewrite rules are not automatically inherited from the base config to virtual hosts. - To unsubscribe, e-mail: users-

[users@httpd] Sanity Checking mod_rewrite for Apache 2.2 on Ubuntu 12.04

2015-10-26 Thread Itamar Gal
Hey Apache webmasters, Here's the tldr: I'm testing a simple catch-all rewrite rule. It doesn't seem to be taking effect, it's not being logged and I'm not getting any errors. Now here's the long version. I'm a junior-level Linux systems administrator trying to gain a better understanding of how