Advertisement
Guest User

Untitled

a guest
Aug 2nd, 2015
230
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.11 KB | None | 0 0
  1. <VirtualHost *:80>
  2. <Directory /var/www/mr1web>
  3. Options +ExecCGI
  4. DirectoryIndex index.html
  5. </Directory>
  6. AddHandler cgi-script .py
  7. ServerAdmin webmaster@localhost
  8.  
  9. DocumentRoot /var/www
  10. <Directory />
  11. Options FollowSymLinks
  12. AllowOverride None
  13. </Directory>
  14. <Directory /var/www/>
  15. Options Indexes FollowSymLinks MultiViews
  16. AllowOverride None
  17. Order allow,deny
  18. allow from all
  19. </Directory>
  20.  
  21. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  22. <Directory "/usr/lib/cgi-bin">
  23. AllowOverride None
  24. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  25. Order allow,deny
  26. Allow from all
  27. </Directory>
  28.  
  29. ErrorLog ${APACHE_LOG_DIR}/error.log
  30.  
  31. # Possible values include: debug, info, notice, warn, error, crit,
  32. # alert, emerg.
  33. LogLevel warn
  34.  
  35. CustomLog ${APACHE_LOG_DIR}/access.log combined
  36. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement