The default configuration of apache on gentoo seems to disable mod_rewrite somehow. I have the following setup: * Installed apache * Created /etc/apache2/modules.d/99_mod_rewrite.conf * Added to 99_mod_rewrite: <IfModule mod_rewrite.c> RewriteEngine On RewriteRule ^/useless/.* /${1} [PT,L] RewriteLog "/var/log/apache2/rewrite_log" RewriteLogLevel 3 </IfModule> * verified "LoadModule rewrite_module modules/mod_rewrite.so" is in httpd.conf * started apache * opened http://localhost/useless/index.html * got sad I've been trying to figure out what hinders mod_rewrite from working. The module is loaded and an empty /var/log/apache2/rewrite_log is created. So the config is working. But it doesn't trigger. And nothing is written to the log file. I guess that the issue is somewhere in the way apache is configured by default on gentoo, but I can't find what is wrong. Or if I'm just being plain stupid Reproducible: Always Steps to Reproduce:
Are you still stuck on this? If so, I think forums.gentoo.org might be a better place for this, since it's likely a configuration problem... if it really looks like a bug after you hash things out more, then you could come back here with more details.
I'm closing this as "needinfo" because we'll need more details (e.g. emerge --info, apache config files) if you're really encountering a bug (however I suspect you haven't replied yet due to having solved this yourself...)
I'm currently running this gentoo forums thread[1] to find the issue ... so far nothing helpful came up. Will reopen once I'm sure it's a bug. [1] http://forums.gentoo.org/viewtopic-t-776642-start-0-postdays-0-postorder-asc-highlight-.html