Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
74
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.70 KB | None | 0 0
  1. cat /etc/apache2/sites-enabled/000-default.conf
  2. <VirtualHost *:90>
  3. DocumentRoot /var/www/html/smokeping/
  4. <Directory "/var/www/html/smokeping/">
  5. #Options Indexes FollowSymLinks
  6. #AllowOverride All
  7. #Order allow,deny
  8. #Allow from all
  9. Options +ExecCGI
  10. AddHandler cgi-script .cgi .fcgi
  11. </Directory>
  12. ErrorLog ${APACHE_LOG_DIR}/error.log
  13. CustomLog ${APACHE_LOG_DIR}/access.log combined
  14. </VirtualHost>
  15.  
  16. ---------------------------------------------------------
  17.  
  18. cat /etc/apache2/mods-enabled/dir.conf
  19. <IfModule mod_dir.c>
  20. DirectoryIndex smokeping.fcgi index.html
  21. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement