Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <VirtualHost *:80>
- # The ServerName directive sets the request scheme, hostname and port that
- # the server uses to identify itself. This is used when creating
- # redirection URLs. In the context of virtual hosts, the ServerName
- # specifies what hostname must appear in the request's Host: header to
- # match this virtual host. For the default virtual host (this file) this
- # value is not decisive as it is used as a last resort host regardless.
- # However, you must set it for any further virtual host explicitly.
- #ServerName www.example.com
- ServerAdmin m@marco-sagerer.de
- DocumentRoot /var/www/html/start
- # Available loglevels: trace8, ..., trace1, debug, info, notice, warn,
- # error, crit, alert, emerg.
- # It is also possible to configure the loglevel for particular
- # modules, e.g.
- #LogLevel info ssl:warn
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- # For most configuration files from conf-available/, which are
- # enabled or disabled at a global level, it is possible to
- # include a line for only one particular virtual host. For example the
- # following line enables the CGI configuration for this host only
- # after it has been globally disabled with "a2disconf".
- #Include conf-available/serve-cgi-bin.conf
- </VirtualHost>
- # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
- <VirtualHost *:80>
- ServerName cloud.marco-sagerer.de
- ServerAdmin m@marco-sagerer.de
- DocumentRoot /var/www/html/cloud
- ErrorLog ${APACHE_LOG_DIR}/error.log
- CustomLog ${APACHE_LOG_DIR}/access.log combined
- <Directory /var/www/html/cloud>
- Options +FollowSymlinks
- AllowOverride All
- <IfModule mod_dav.c>
- Dav off
- </IfModule>
- <IfModule mod_headers.c>
- Header always set Strict-Transport-Security "max-age=15768000; preload"
- </IfModule>
- SetEnv HOME /var/www/html/cloud
- SetEnv HTTP_HOME /var/www/html/cloud
- </Directory>
- </VirtualHost>
- <VirtualHost *:80>
- ServerName serv1.sagerer.eu
- ServerAdmin m@marco-sagerer.de
- DocumentRoot /var/www/html/serv1
- <Directory /var/www/html/serv1>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- ServerSignature On
- </VirtualHost>
- <VirtualHost *:80>
- ServerName v.marco-sagerer.de
- ServerAdmin m@marco-sagerer.de
- DocumentRoot /var/www/html/start
- <Directory /var/www/html/start>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- ServerSignature On
- </VirtualHost>
- <VirtualHost *:80>
- ServerName serv1.marco-sagerer.de
- ServerAdmin m@marco-sagerer.de
- DocumentRoot /var/www/html/start
- <Directory /var/www/html/start>
- Options Indexes FollowSymLinks MultiViews
- AllowOverride All
- Order allow,deny
- allow from all
- </Directory>
- ErrorLog /var/log/apache2/error.log
- LogLevel warn
- CustomLog /var/log/apache2/access.log combined
- ServerSignature On
- </VirtualHost>
- <VirtualHost monitor.sagerer.eu:80>
- ServerName monitor.sagerer.eu
- ServerAdmin m@marco-sagerer.de
- DocumentRoot /usr/share/zabbix
- Alias /zabbix /usr/share/zabbix
- <Directory "/usr/share/zabbix">
- Options FollowSymLinks
- AllowOverride None
- Require all granted
- <IfModule mod_php5.c>
- php_value max_execution_time 300
- php_value memory_limit 128M
- php_value post_max_size 16M
- php_value upload_max_filesize 2M
- php_value max_input_time 300
- php_value always_populate_raw_post_data -1
- php_value date.timezone Europe/Berlin
- </IfModule>
- </Directory>
- <Directory "/usr/share/zabbix/conf">
- Require all denied
- </Directory>
- <Directory "/usr/share/zabbix/app">
- Require all denied
- </Directory>
- <Directory "/usr/share/zabbix/include">
- Require all denied
- </Directory>
- <Directory "/usr/share/zabbix/local">
- Require all denied
- </Directory>
- ServerSignature On
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement