The tutorial says:
However, when I enterYou'll also need to tell the virtual host serving the site to allow requests to be overwritten. Do this by editing the virtual host file (with root permissions): sudo nano /etc/apache2/sites-available/default; also, change the AllowOverride setting on line 11 (inside the <Directory /var/www/html/> block) from None to All. Save the file and then restart Apache with sudo service apache2 restart. Once it's restarted, refresh the page and it should load successfully. Now posts have URLs like /hello-world/ instead of /?p=123, and pages have URLs like /sample-page/ instead of /?page_id=2.
Code: Select all
sudo nano /etc/apache2/sites-available/defaultCode: Select all
lsWhat's gone wrong?
I'm using the latest Raspbian Jessie release, on a Raspberry Pi B 512mb, and the tutorial here: https://www.raspberrypi.org/learning/la ... worksheet/
Thanks for your help.