Guest User

Untitled

a guest
Oct 26th, 2015
163
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.85 KB | None | 0 0
  1. <VirtualHost 23.239.9.57:80>
  2. # The ServerName directive sets the request scheme, hostname and port that
  3. # the server uses to identify itself. This is used when creating
  4. # redirection URLs. In the context of virtual hosts, the ServerName
  5. # specifies what hostname must appear in the request's Host: header to
  6. # match this virtual host. For the default virtual host (this file) this
  7. # value is not decisive as it is used as a last resort host regardless.
  8. # However, you must set it for any further virtual host explicitly.
  9. #ServerName www.example.com
  10.  
  11. ServerAdmin [email protected]
  12. #this might be dangerous
  13. DocumentRoot /var/www
  14.  
  15. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  16. # error, crit, alert, emerg.
  17. # It is also possible to configure the loglevel for particular
  18. # modules, e.g.
  19. #LogLevel info ssl:warn
  20.  
  21. ErrorLog ${APACHE_LOG_DIR}/error.log
  22. CustomLog ${APACHE_LOG_DIR}/access.log combined
  23.  
  24. # For most configuration files from conf-available/, which are
  25. # enabled or disabled at a global level, it is possible to
  26. # include a line for only one particular virtual host. For example the
  27. # following line enables the CGI configuration for this host only
  28. # after it has been globally disabled with "a2disconf".
  29. #Include conf-available/serve-cgi-bin.conf
  30. </VirtualHost>
  31.  
  32. <VirtualHost 66.228.42.136:80>
  33. # The ServerName directive sets the request scheme, hostname and port that
  34. # the server uses to identify itself. This is used when creating
  35. # redirection URLs. In the context of virtual hosts, the ServerName
  36. # specifies what hostname must appear in the request's Host: header to
  37. # match this virtual host. For the default virtual host (this file) this
  38. # value is not decisive as it is used as a last resort host regardless.
  39. # However, you must set it for any further virtual host explicitly.
  40. #ServerName www.example.com
  41.  
  42. ServerAdmin [email protected]
  43. #this might be dangerous
  44. DocumentRoot /var/www/idfr
  45.  
  46. <Directory /var/www/idfr/>
  47. Options Indexes FollowSymLinks MultiViews
  48. # Options FollowSymLinks
  49. AllowOverride All
  50. Order allow,deny
  51. Allow from all
  52. </Directory>
  53. #<Directory /var/www/idfr/app/etc/>
  54. # AllowOverride All
  55. # Order allow,deny
  56. # Allow from all
  57. # #Deny from all
  58. #</Directory>
  59. #<Files /var/www/idfr/app/etc/local.xml>
  60. #Deny from all
  61. #</Files>
  62. #<Files /var/www/idfr/app/etc/config.xml>
  63. #Deny from all
  64. #</Files>
  65. #<Files /var/www/idfr/app/etc/.htaccess>
  66. #Deny from all
  67. #</Files>
  68. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  69. # error, crit, alert, emerg.
  70. # It is also possible to configure the loglevel for particular
  71. # modules, e.g.
  72. #LogLevel info ssl:warn
  73.  
  74. ErrorLog ${APACHE_LOG_DIR}/error.log
  75. CustomLog ${APACHE_LOG_DIR}/access.log combined
  76.  
  77. # For most configuration files from conf-available/, which are
  78. # enabled or disabled at a global level, it is possible to
  79. # include a line for only one particular virtual host. For example the
  80. # following line enables the CGI configuration for this host only
  81. # after it has been globally disabled with "a2disconf".
  82. #Include conf-available/serve-cgi-bin.conf
  83. </VirtualHost>
  84.  
  85.  
  86. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  87.  
  88. Listen 443
  89. <VirtualHost *:443>
  90.  
  91. DocumentRoot /var/www/idfr
  92. ServerName www.idfr.com
  93.  
  94. SSLEngine on
  95. SSLCertificateFile "/etc/apache2/ssl/www_idfr_com.crt"
  96. SSLCertificateKeyFile "/etc/apache2/ssl/www.idfr.com.key"
  97. SSLCACertificateFile "/etc/apache2/ssl/www_idfr_com.ca-bundle"
  98.  
  99. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment