Skip to content

Instantly share code, notes, and snippets.

@goaquin
Created March 24, 2017 19:19
Show Gist options
  • Save goaquin/98c7576ffa4edd6e9fc3f5b0d1097b96 to your computer and use it in GitHub Desktop.
Save goaquin/98c7576ffa4edd6e9fc3f5b0d1097b96 to your computer and use it in GitHub Desktop.
cat /etc/apache2/sites-enabled/000-default.conf
<VirtualHost *:90>
DocumentRoot /var/www/html/smokeping/
<Directory "/var/www/html/smokeping/">
#Options Indexes FollowSymLinks
#AllowOverride All
#Order allow,deny
#Allow from all
Options +ExecCGI
AddHandler cgi-script .cgi .fcgi
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
---------------------------------------------------------
cat /etc/apache2/mods-enabled/dir.conf
<IfModule mod_dir.c>
DirectoryIndex smokeping.fcgi index.html
</IfModule>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment