Guest User

Untitled

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