How do I get .htaccess working on Ubuntu: suggestions I see so far do not work
Posted on 2010-09-19
I'm a newbie on EE (evaluation period, ahem!) and really hope this forum can crack the problem for me. I am almost moving off Ubuntu for this simple reason.
My web app relies on URL rewriting to map friendly URLs to the actual. All efforts to get it to work (asides displaying the landing page) fails with the 404-file not found error for every page that depends on the rewrite.
This is Ubuntu 10.4 and my site files placed in /home/myuser/www/dsite
Now I have no .htaccess file in /home/myuser/www/ but there is one in /home/myuser/www/dsite with the relevant contents as follows:
RewriteRule ^index index.php
Following this comes a whole bunch of rewrite statements in the htaccess file.
In the corresponding "dsite" file in /etc/apache2/sites-enabled I have the following relevant portions:
Options Indexes FollowSymLinks MultiViews
allow from all
The allowoverrides were initially set to "none" but googling/ EE etc advised changing this to All. However it has had no effect despite apache2 restarts.
The mod_rewrite is definitely installed.
Any assistance to resolve this challenge would be greatly appreciated.