Advertisement
dmroger

000-default.conf

Feb 20th, 2018
133
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.98 KB | None | 0 0
  1. <VirtualHost *:4080>
  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 webmaster@localhost
  12. DocumentRoot /var/www/html/dm-web
  13. #ServerName www.directedmedia.net
  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.  
  33. <VirtualHost *:4081>
  34. # The ServerName directive sets the request scheme, hostname and port that
  35. # the server uses to identify itself. This is used when creating
  36. # redirection URLs. In the context of virtual hosts, the ServerName
  37. # specifies what hostname must appear in the request's Host: header to
  38. # match this virtual host. For the default virtual host (this file) this
  39. # value is not decisive as it is used as a last resort host regardless.
  40. # However, you must set it for any further virtual host explicitly.
  41. #ServerName www.example.com
  42.  
  43. ServerAdmin webmaster@localhost
  44. DocumentRoot /var/www/html/xibo-cms/web
  45. #ServerName www.directedmedia.net/xibo
  46.  
  47. Alias /xibo /var/www/html/xibo-cms/web
  48.  
  49. # Other directives here
  50. <Directory "/var/www/html/xibo-cms/web">
  51. AllowOverride All
  52. Options Indexes FollowSymLinks MultiViews
  53. Order allow,deny
  54. Allow from all
  55. Require all granted
  56. </Directory>
  57.  
  58. # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  59. # error, crit, alert, emerg.
  60. # It is also possible to configure the loglevel for particular
  61. # modules, e.g.
  62. #LogLevel info ssl:warn
  63.  
  64. ErrorLog ${APACHE_LOG_DIR}/error.log
  65. CustomLog ${APACHE_LOG_DIR}/access.log combined
  66.  
  67. # For most configuration files from conf-available/, which are
  68. # enabled or disabled at a global level, it is possible to
  69. # include a line for only one particular virtual host. For example the
  70. # following line enables the CGI configuration for this host only
  71. # after it has been globally disabled with "a2disconf".
  72. #Include conf-available/serve-cgi-bin.conf
  73. </VirtualHost>
  74.  
  75. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement