Created
March 24, 2017 19:19
-
-
Save goaquin/98c7576ffa4edd6e9fc3f5b0d1097b96 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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