Skip to content

Instantly share code, notes, and snippets.

@rick4470
Created April 6, 2017 18:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save rick4470/4de1fd32cb07b3bc9505316a5526961d to your computer and use it in GitHub Desktop.
Save rick4470/4de1fd32cb07b3bc9505316a5526961d to your computer and use it in GitHub Desktop.
rick@ubuntu:~$ sudo vim /etc/apache2/mods-enabled/dir.conf
<IfModule mod_dir.c>
DirectoryIndex index.php index.cgi index.pl index.html index.xhtml index.htm
</IfModule>
# vim: syntax=apache ts=4 sw=4 sts=4 sr noet
rick@ubuntu:~$ sudo systemctl restart apache2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment