Hey guys,
So I’ve created my very first droplet with Ubuntu 14.04 and LAMP (choosed LAMP from Applications when creating the droplet) (it’s the smallest droplet with 512 MB RAM and 20GB space)
I’m following this tutorial to install processwire https://www.digitalocean.com/community/tutorials/how-to-install-processwire-on-an-ubuntu-vps
so everything goes nicely up to the point when I should enable rewrite module, the module gets enabled and then the tutorial says:
To use mod_rewrite, htaccess overrides have to be enabled. You will need to modify the default host configuration file. This can be found at::
/etc/apache2/sites-available/default
but there is no such file? The command opens an empty file and I even checked via sftp, the only files in /etc/apache2/sites-available are:
000-default.conf and default-ssl.conf
and I cannot change AllowOverride to All because there is no such line in those files
Can anyone please point out what I’m doing wrong and how can it be fixed?
This textbox defaults to using Markdown to format your answer.
You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!
Assuming that you are using the standard web root of /var/www/html in your virtualhost configuration files (000-default.conf and default-ssl.conf) you can add the following section (inside the virtualhost definition).
<Directory /var/www/html>
AllowOverride All
</Directory>
Get paid to write technical tutorials and select a tech-focused charity to receive a matching donation.
Full documentation for every DigitalOcean product.
The Wave has everything you need to know about building a business, from raising funding to marketing your product.
Stay up to date by signing up for DigitalOcean’s Infrastructure as a Newsletter.
New accounts only. By submitting your email you agree to our Privacy Policy
Scale up as you grow — whether you're running one virtual machine or ten thousand.
Sign up and get $200 in credit for your first 60 days with DigitalOcean.*
*This promotional offer applies to new accounts only.