Advertisement
OneTallor

Untitled

Jun 5th, 2018
193
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.03 KB | None | 0 0
  1.  
  2. <VirtualHost *:80>
  3. ServerAdmin admin@dogito.hu
  4. ServerName dogito.hu
  5. ServerAlias www.dogito.hu
  6. DocumentRoot /var/www/dogito.hu/public_html/
  7. ErrorLog ${APACHE_LOG_DIR}/error.log
  8. CustomLog ${APACHE_LOG_DIR}/access.log combined
  9. </VirtualHost>
  10.  
  11.  
  12. <VirtualHost *:80>
  13. ServerName patrik2k.dogito.hu
  14. DocumentRoot "/var/www/phpmyadmin"
  15. ServerAlias www.patrik2k.dogito.hu
  16.  
  17. # Other directives here
  18. <Directory /var/www/phpmyadmin/>
  19. Options Indexes FollowSymLinks MultiViews
  20. AllowOverride All
  21. Order allow,deny
  22. allow from all
  23. </Directory>
  24.  
  25. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  26. <Directory "/usr/lib/cgi-bin">
  27. AllowOverride None
  28. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  29. Order allow,deny
  30. Allow from all
  31. </Directory>
  32.  
  33. </VirtualHost>
  34.  
  35.  
  36.  
  37.  
  38.  
  39. <VirtualHost *:443>
  40. ServerAdmin admin@dogito.hu
  41. ServerName dogito.hu
  42. ServerAlias www.dogito.hu
  43. DocumentRoot /var/www/dogito.hu/public_html/
  44. ErrorLog ${APACHE_LOG_DIR}/error.log
  45. CustomLog ${APACHE_LOG_DIR}/access.log combined
  46.  
  47. SSLEngine on
  48. SSLCertificateFile /etc/apache2/ssl/dogito.hu.crt
  49. SSLCertificateKeyFile /etc/apache2/ssl/dogito.hu.key
  50. </VirtualHost>
  51.  
  52.  
  53. <VirtualHost *:443>
  54. ServerName phpmyadmin.dogito.hu
  55. DocumentRoot "/var/www/phpmyadmin"
  56. ServerAlias www.patrik2k.dogito.hu
  57.  
  58. SSLEngine on
  59. SSLCertificateFile /etc/apache2/ssl/dogito.hu.crt
  60. SSLCertificateKeyFile /etc/apache2/ssl/dogito.hu.key
  61. # Other directives here
  62. <Directory /var/www/phpmyadmin/>
  63. Options Indexes FollowSymLinks MultiViews
  64. AllowOverride All
  65. Order allow,deny
  66. allow from all
  67. </Directory>
  68.  
  69. ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
  70. <Directory "/usr/lib/cgi-bin">
  71. AllowOverride None
  72. Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
  73. Order allow,deny
  74. Allow from all
  75. </Directory>
  76.  
  77. </VirtualHost>
  78.  
  79.  
  80. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement