Advertisement
Guest User

Untitled

a guest
May 20th, 2013
85
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.16 KB | None | 0 0
  1. FILE: /etc/apache2/sites-available/itsource.pw
  2.  
  3. # domain: itsource.pw
  4. # public: /var/www/public/itsource/public
  5.  
  6.  
  7.  
  8.  
  9. <VirtualHost 198.57.44.169:80>
  10.  
  11. # Admin email, Server Name (domain name), and any aliases
  12. ServerAdmin admin@itsource.pw
  13. ServerName www.itsource.pw
  14. ServerAlias itsource.pw
  15.  
  16. # Index file and Document Root (where the public files are located)
  17. DirectoryIndex index.html index.php
  18. DocumentRoot /var/www/public/itsource/public
  19.  
  20. # Log file locations
  21. LogLevel warn
  22. ErrorLog /var/www/public/itsource/log/error.log
  23. CustomLog /var/www/public/itsource/log/access.log combined
  24. </VirtualHost>
  25.  
  26. <VirtualHost 198.57.44.169:443>
  27.  
  28. #SSLEngine On
  29. #SSLCertificateFile /etc/apache2/ssl/itsource_pw.crt
  30. #SSLCertificateKeyFile /etc/apache2/ssl/itsource.pw.key
  31. #SSLCertificateChainFile /etc/apache2/ssl/PositiveSSLCA2.crt
  32.  
  33. # Admin email, Server Name (domain name), and any aliases
  34. ServerAdmin admin@itsource.pw
  35. ServerName www.itsource.pw
  36. ServerAlias itsource.pw
  37.  
  38. # Index file and Document Root (where the public files are located)
  39. DirectoryIndex index.html index.php
  40. DocumentRoot /var/www/public/itsource/public
  41.  
  42. # Log file locations
  43. LogLevel warn
  44. ErrorLog /var/www/public/itsource/log/error.log
  45. CustomLog /var/www/public/itsource/log/access.log combined
  46.  
  47.  
  48. FILE: /etc/apache2/ports.conf
  49.  
  50. # If you just change the port or add more ports here, you will likely also
  51. # have to change the VirtualHost statement in
  52. # /etc/apache2/sites-enabled/000-default
  53. # This is also true if you have upgraded from before 2.2.9-3 (i.e. from
  54. # Debian etch). See /usr/share/doc/apache2.2-common/NEWS.Debian.gz and
  55. # README.Debian.gz
  56.  
  57. NameVirtualHost 198.57.44.159:80
  58. Listen 80
  59.  
  60.  
  61. <IfModule mod_ssl.c>
  62. # If you add NameVirtualHost *:443 here, you will also have to change
  63. # the VirtualHost statement in /etc/apache2/sites-available/default-ssl
  64. # to <VirtualHost *:443>
  65. # Server Name Indication for SSL named virtual hosts is currently not
  66. # supported by MSIE on Windows XP.
  67. NameVirtualHost 198.57.44.159:443
  68. Listen 443
  69. </IfModule>
  70.  
  71. <IfModule mod_gnutls.c>
  72. Listen 443
  73. </IfModule>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement