Advertisement
Guest User

Untitled

a guest
Nov 23rd, 2013
14
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.08 KB | None | 0 0
  1. % nocomment sites-enabled/000-default.conf
  2. <VirtualHost *:80>
  3. ServerAdmin webmaster@localhost
  4. DocumentRoot /var/www
  5. ErrorLog ${APACHE_LOG_DIR}/error.log
  6. CustomLog ${APACHE_LOG_DIR}/access.log combined
  7. Include conf-available/serve-cgi-bin.conf
  8. </VirtualHost>
  9. # uncomment line tu ^
  10.  
  11. % nocomment conf-enabled/serve-cgi-bin.conf
  12. <IfModule mod_alias.c>
  13. <IfModule mod_cgi.c>
  14. Define ENABLE_USR_LIB_CGI_BIN
  15. </IfModule>
  16. <IfModule mod_cgid.c>
  17. Define ENABLE_USR_LIB_CGI_BIN
  18. </IfModule>
  19. <IfModule mod_fastcgi.c>
  20. Define ENABLE_USR_LIB_CGI_BIN
  21. </IfModule>
  22. <IfDefine ENABLE_USR_LIB_CGI_BIN>
  23. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  24. <Directory "/usr/lib/cgi-bin">
  25. AllowOverride None
  26. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  27. Require all granted
  28. </Directory>
  29. </IfDefine>
  30. </IfModule>
  31. # add lines tu
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement