Guest User

Untitled

a guest
Jul 19th, 2018
378
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.35 KB | None | 0 0
  1. NameVirtualHost *
  2.  
  3. <VirtualHost *>
  4. ServerAlias server.ron.si
  5. ServerName server.ron.si
  6. ServerAdmin hribar.12@gmail.com
  7. DocumentRoot "/var/www/dir"
  8. <Directory />
  9. Options FollowSymLinks
  10. AllowOverride None
  11. </Directory>
  12. <Directory /var/www/dir>
  13. Options Indexes FollowSymLinks MultiViews
  14. AllowOverride None
  15. Order allow,deny
  16. allow from all
  17. </Directory>
  18.  
  19. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  20. <Directory "/usr/lib/cgi-bin">
  21. AllowOverride None
  22. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  23. Order allow,deny
  24. Allow from all
  25. </Directory>
  26. </VirtualHost>
  27.  
  28. <VirtualHost *>
  29. ServerAlias test.ron.si
  30. ServerName hribar.12@gmail.com
  31. ServerAdmin hribar.12@gmail.com
  32. DocumentRoot "/var/www/a"
  33.  
  34. <Directory /var/www/a>
  35. Options Indexes FollowSymLinks MultiViews
  36. AllowOverride None
  37. Order allow,deny
  38. allow from all
  39. </Directory>
  40.  
  41. CustomLog "/var/log/httpd/blog_access_log" combined
  42. ErrorLog "/var/log/httpd/blog_error_log"
  43.  
  44. php_admin_value open_basedir /srv/http/n00bz.blog/
  45. php_admin_value session.save_path /srv/http/n00bz.blog/.session/
  46. php_admin_value upload_tmp_dir /srv/http/n00bz.blog/.session/
  47.  
  48. </VirtualHost>
Add Comment
Please, Sign In to add comment