First droplet, htaccess, no config file?

  • Posted December 20, 2014

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

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::


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?


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

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