[thelist] [apache(?)] ubuntu, apache2, cakephp and mod_rewrite (oh my!)

Joe Flintham list at menticulture.com
Tue Apr 8 18:51:34 CDT 2008

Paul Bennett wrote:
> Apache2 -M tells me mod_rewrite is enabled
> Apache2 force-reload even tells me that I'm trying to load mod_rewrite twice (!) and so it ignores the 2nd load
> Phpinfo() tells me mod_rewrite is loaded for PHP5
> I have a sneaking suspicion that mod_rewrite *is* working, as redirects to /var/www/apache2-default/, which follows this rule set in /etc/apache2/sites-available/default
> Does anyone know why the url /localhost/class/method/ won't resolve?

Hi Paul
As you hint, all the evidence suggests that mod rewrite is enabled, so 
the question is do your rewrite rules and conditions work as intended?  
Can you show us how you're setting up your rules? 

More information about the thelist mailing list