I'm having a problem with an .htaccess
file on a newly installed Ubuntu server running Apache2.
The .htaccess file in the directory where the WordPress files are located isn't being take into account when the server loads pages. There isn't an AllowOverride
statement in the apache2.conf file, but the default is All
, and it doesn't change anything if I include one.
I've tried including the contents of the local .htaccess
file in a section. I've also tried this:
<Directory /var/www/mydomain.com/html>
AllowOverride All
</Directory>
I also tried changing all instances of AllowOverride
in /etc/apache2/sites-available/default (which are all set to None
by default) to All
.
But I've had no luck.
Not sure how to solve this one.