apache2 mod_rewrite
In this file sudo nano /etc/apache2/sites-enabled/000-default.conf
I have
>
AllowOverride All
Order allow,deny
allow from all
Is that the wrong path?
I have also changed this file httpd.conf
> AllowOverride All
Thanks
2 Replies
There was no forward slash in the directory address, not the first time I wasted time over a / and I guess won't be the last
<directory var="" www="" html="" website_name.com="" public_html="">RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
Require all granted
AllowOverride All</directory>
What through me off is that this linewithout the forward slash is automatically generated.