Advertisement
Luke_R

apache2 configs (/etc/apache2/sites-enabled/)

Nov 6th, 2016
164
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 7.22 KB | None | 0 0
  1. refreshed
  2. 000-default.conf
  3.  
  4. <VirtualHost acegames.de:80>
  5.     # The ServerName Directive sets the request scheme, hostname and port that
  6.     # the server uses to identify itself. This is used when creating
  7.     # redirection URLs. In the context of virtual hosts, the ServerName
  8.     # specifies what hostname must appear in the request's Host: header to
  9.     # match this virtual host. For the default virtual host (this file) this
  10.     # value is not decisive as it is used as a last resort host regardless.
  11.     # However, you must set it for any further virtual host explicitly.
  12.     ServerName http://acegames.de
  13.  
  14.     ServerAdmin webmaster@localhost
  15.     DocumentRoot /var/www/html
  16.         ServerAlias www.acegames.de
  17.     # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  18.     # error, crit, alert, emerg.
  19.     # It is also possible to configure the loglevel for particular
  20.     # modules, e.g.
  21.     #LogLevel info ssl:warn
  22.  
  23.     ErrorLog ${APACHE_LOG_DIR}/error.log
  24.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  25.  
  26.     # For most configuration files from conf-available/, which are
  27.     # enabled or disabled at a global level, it is possible to
  28.     # include a line for only one particular virtual host. For example the
  29.     # following line enables the CGI configuration for this host only
  30.     # after it has been globally disabled with "a2disconf".
  31.     #Include conf-available/serve-cgi-bin.conf
  32.  
  33.    # RewriteEngine on
  34.    # RewriteCond %{SERVER_NAME}   =www.acegames.de [OR]
  35.    # RewriteCond %{SERVER_NAME} =acegames.de
  36.    # RewriteRule ^ https://%{SERVER_NAME}%{REQUEST_URI} [END,QSA,R=permanent]
  37. </VirtualHost>
  38. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  39.  
  40.  
  41.  
  42. 001-cloud.acegames.de.conf
  43.  
  44. <VirtualHost cloud.acegames.de:80>
  45.     # The ServerName directive sets the request scheme, hostname and port that
  46.     # the server uses to identify itself. This is used when creating
  47.     # redirection URLs. In the context of virtual hosts, the ServerName
  48.     # specifies what hostname must appear in the request's Host: header to
  49.     # match this virtual host. For the default virtual host (this file) this
  50.     # value is not decisive as it is used as a last resort host regardless.
  51.     # However, you must set it for any further virtual host explicitly.
  52.     ServerName http://cloud.acegames.de
  53.  
  54.     ServerAdmin webmaster@localhost
  55.     DocumentRoot /var/www/owncloud
  56.     # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  57.     # error, crit, alert, emerg.
  58.     # It is also possible to configure the loglevel for particular
  59.     # modules, e.g.
  60.     #LogLevel info ssl:warn
  61.  
  62.     ErrorLog ${APACHE_LOG_DIR}/error.log
  63.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  64.  
  65.     # For most configuration files from conf-available/, which are
  66.     # enabled or disabled at a global level, it is possible to
  67.     # include a line for only one particular virtual host. For example the
  68.     # following line enables the CGI configuration for this host only
  69.     # after it has been globally disabled with "a2disconf".
  70.     #Include conf-available/serve-cgi-bin.conf
  71. </VirtualHost>
  72. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  73.  
  74.  
  75.  
  76. 002-ts.acegames.de.conf
  77.  
  78. <VirtualHost ts.acegames.de:80>
  79.     # The ServerName directive sets the request scheme, hostname and port that
  80.     # the server uses to identify itself. This is used when creating
  81.     # redirection URLs. In the context of virtual hosts, the ServerName
  82.     # specifies what hostname must appear in the request's Host: header to
  83.     # match this virtual host. For the default virtual host (this file) this
  84.     # value is not decisive as it is used as a last resort host regardless.
  85.     # However, you must set it for any further virtual host explicitly.
  86.     ServerName http://ts.acegames.de
  87.  
  88.     ServerAdmin webmaster@localhost
  89.     DocumentRoot /var/www/html/ts
  90.         ServerAlias teamspeak.acegames.de
  91.     # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  92.     # error, crit, alert, emerg.
  93.     # It is also possible to configure the loglevel for particular
  94.     # modules, e.g.
  95.     #LogLevel info ssl:warn
  96.  
  97.     ErrorLog ${APACHE_LOG_DIR}/error.log
  98.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  99.  
  100.     # For most configuration files from conf-available/, which are
  101.     # enabled or disabled at a global level, it is possible to
  102.     # include a line for only one particular virtual host. For example the
  103.     # following line enables the CGI configuration for this host only
  104.     # after it has been globally disabled with "a2disconf".
  105.     #Include conf-available/serve-cgi-bin.conf
  106. </VirtualHost>
  107. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  108.  
  109.  
  110.  
  111. 003-status.acegames.de.conf
  112.  
  113. <VirtualHost status.acegames.de:80>
  114.     # The ServerName directive sets the request scheme, hostname and port that
  115.     # the server uses to identify itself. This is used when creating
  116.     # redirection URLs. In the context of virtual hosts, the ServerName
  117.     # specifies what hostname must appear in the request's Host: header to
  118.     # match this virtual host. For the default virtual host (this file) this
  119.     # value is not decisive as it is used as a last resort host regardless.
  120.     # However, you must set it for any further virtual host explicitly.
  121.     ServerName http://status.acegames.de
  122.  
  123.     ServerAdmin webmaster@localhost
  124.     DocumentRoot /var/www/html/status
  125.     # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  126.     # error, crit, alert, emerg.
  127.     # It is also possible to configure the loglevel for particular
  128.     # modules, e.g.
  129.     #LogLevel info ssl:warn
  130.  
  131.     ErrorLog ${APACHE_LOG_DIR}/error.log
  132.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  133.  
  134.     # For most configuration files from conf-available/, which are
  135.     # enabled or disabled at a global level, it is possible to
  136.     # include a line for only one particular virtual host. For example the
  137.     # following line enables the CGI configuration for this host only
  138.     # after it has been globally disabled with "a2disconf".
  139.     #Include conf-available/serve-cgi-bin.conf
  140. </VirtualHost>
  141. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
  142.  
  143.  
  144.  
  145. 004-download.acegames.de.conf
  146.  
  147. <VirtualHost download.acegames.de:80>
  148.     # The ServerName directive sets the request scheme, hostname and port that
  149.     # the server uses to identify itself. This is used when creating
  150.     # redirection URLs. In the context of virtual hosts, the ServerName
  151.     # specifies what hostname must appear in the request's Host: header to
  152.     # match this virtual host. For the default virtual host (this file) this
  153.     # value is not decisive as it is used as a last resort host regardless.
  154.     # However, you must set it for any further virtual host explicitly.
  155.     ServerName http://download.acegames.de
  156.  
  157.     ServerAdmin webmaster@localhost
  158.     DocumentRoot /var/www/html/download
  159.     # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
  160.     # error, crit, alert, emerg.
  161.     # It is also possible to configure the loglevel for particular
  162.     # modules, e.g.
  163.     #LogLevel info ssl:warn
  164.  
  165.     ErrorLog ${APACHE_LOG_DIR}/error.log
  166.     CustomLog ${APACHE_LOG_DIR}/access.log combined
  167.  
  168.     # For most configuration files from conf-available/, which are
  169.     # enabled or disabled at a global level, it is possible to
  170.     # include a line for only one particular virtual host. For example the
  171.     # following line enables the CGI configuration for this host only
  172.     # after it has been globally disabled with "a2disconf".
  173.     #Include conf-available/serve-cgi-bin.conf
  174. </VirtualHost>
  175. # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement