diff --git a/install/INSTALL.md b/install/INSTALL.md
index efd0a3c..4e374a8 100644
--- a/install/INSTALL.md
+++ b/install/INSTALL.md
@@ -51,82 +51,11 @@ install mod_perl2
### Apache Configuration
-Virtual host configuration has to be placed at /etc/conf/apache2/.
-
- # adopt your settings here
- Define domain your-domain.org
- Define base_dir /home/calcms
- Define perl_lib /home/radio/calcms
+Copy Virtual host configuration apache2-sites/calcms.conf to /etc/conf/apache2/sites-enabled/.
- # Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
- LogLevel info
-
- # limit redirection on injecting into your website
- LimitInternalRecursion 4
-
- # redirect HTTP to HTTPS,
- # only needed for HTTP configuration, do not use this at HTTPS configuration(!)
- Redirect permanent /agenda/planung https://${domain}/agenda/planung
-
- # inject calcms into your website
- Alias /agenda ${base_dir}/website/agenda
- Alias /programm ${base_dir}/website/programm
- Alias /agenda_files ${base_dir}/website/agenda_files
-
-
- AllowOverride All
- Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
- Require all granted
-
-
-
- AllowOverride All
- Options -Indexes +FollowSymLinks -MultiViews -ExecCGI
- Require all granted
-
-
- RewriteBase /programm
-
- RewriteEngine on
- RewriteCond %{REQUEST_FILENAME} -f
- RewriteRule (.*) $1 [L]
- RewriteCond %{REQUEST_FILENAME} -d
- RewriteRule (.*) $1 [L]
-
- RewriteRule ^kalender/(\d{4}-\d{2}-\d{2})_(\d{4}-\d{2}-\d{2})\.html[\?]?(.*)$ /agenda/aggregate.cgi?from_date=$1&till_date=$2&$3 [L]
- RewriteRule ^kalender/(\d{4}-\d{2}-\d{2})\.html[\?]?(.*)$ /agenda/aggregate.cgi?date=$1&$2 [L]
- RewriteRule ^sendungen/(\d{4}-\d{2}-\d{2})\.html[\?]?(.*)$ /agenda/aggregate.cgi?date=$1&$2 [L]
- RewriteRule ^sendung/(\d+)\.html[\?]?(.*)$ /agenda/aggregate.cgi?event_id=$1&$2 [L]
- RewriteRule ^sendung/serie_plus/(\d+)\.html[\?]?(.*)$ /agenda/aggregate.cgi?next_series=$1&$2 [L]
- RewriteRule ^sendung/serie_minus/(\d+)\.html[\?]?(.*)$ /agenda/aggregate.cgi?previous_series=$1&$2 [L]
-
-
-
-
- AllowOverride All
- Options -Indexes -FollowSymLinks -MultiViews -ExecCGI
- Require all granted
-
-
-
- PerlSetEnv LC_ALL en_US.UTF-8
- PerlSetEnv LANGUAGE en_US.UTF-8
-
- PerlWarn On
- PerlModule ModPerl::RegistryPrefork
-
- PerlModule Apache2::Reload
- PerlInitHandler Apache2::Reload
-
- # set local tmp dir
- SetEnv TMPDIR ${base_dir}/tmp/
-
- # set library directory
- PerlSetEnv PERL5LIB ${base_dir}/lib/calcms/
-
- # preload libraries
- PerlPostConfigRequire ${base_dir}/lib/calcms/startup.pl
-
+* setup domain
+* setup database connection
+* setup directories
### install required perl modules
diff --git a/install/apache2-sites/calcms.conf b/install/apache2-sites/calcms.conf
new file mode 100644
index 0000000..6427e2a
--- /dev/null
+++ b/install/apache2-sites/calcms.conf
@@ -0,0 +1,74 @@
+# adopt your settings here
+Define domain your-domain.org
+Define base_dir /home/calcms
+Define perl_lib /home/radio/calcms
+
+# Possible values include: debug, info, notice, warn, error, crit, alert, emerg.
+LogLevel info
+
+# limit redirection on injecting into your website
+LimitInternalRecursion 4
+
+# redirect HTTP to HTTPS,
+# only needed for HTTP configuration, do not use this at HTTPS configuration(!)
+Redirect permanent /agenda/planung https://${domain}/agenda/planung
+
+# inject calcms into your website
+Alias /agenda ${base_dir}/website/agenda
+Alias /programm ${base_dir}/website/programm
+Alias /agenda_files ${base_dir}/website/agenda_files
+
+
+ AllowOverride All
+ Options -Indexes +FollowSymLinks +MultiViews +ExecCGI
+ Require all granted
+
+
+
+ AllowOverride All
+ Options -Indexes +FollowSymLinks -MultiViews -ExecCGI
+ Require all granted
+
+
+ RewriteBase /programm
+
+ RewriteEngine on
+ RewriteCond %{REQUEST_FILENAME} -f
+ RewriteRule (.*) $1 [L]
+ RewriteCond %{REQUEST_FILENAME} -d
+ RewriteRule (.*) $1 [L]
+
+ RewriteRule ^kalender/(\d{4}-\d{2}-\d{2})_(\d{4}-\d{2}-\d{2})\.html[\?]?(.*)$ /agenda/aggregate.cgi?from_date=$1&till_date=$2&$3 [L]
+ RewriteRule ^kalender/(\d{4}-\d{2}-\d{2})\.html[\?]?(.*)$ /agenda/aggregate.cgi?date=$1&$2 [L]
+ RewriteRule ^sendungen/(\d{4}-\d{2}-\d{2})\.html[\?]?(.*)$ /agenda/aggregate.cgi?date=$1&$2 [L]
+ RewriteRule ^sendung/(\d+)\.html[\?]?(.*)$ /agenda/aggregate.cgi?event_id=$1&$2 [L]
+ RewriteRule ^sendung/serie_plus/(\d+)\.html[\?]?(.*)$ /agenda/aggregate.cgi?next_series=$1&$2 [L]
+ RewriteRule ^sendung/serie_minus/(\d+)\.html[\?]?(.*)$ /agenda/aggregate.cgi?previous_series=$1&$2 [L]
+
+
+
+
+ AllowOverride All
+ Options -Indexes -FollowSymLinks -MultiViews -ExecCGI
+ Require all granted
+
+
+
+ PerlSetEnv LC_ALL en_US.UTF-8
+ PerlSetEnv LANGUAGE en_US.UTF-8
+
+ PerlWarn On
+ PerlModule ModPerl::RegistryPrefork
+
+ PerlModule Apache2::Reload
+ PerlInitHandler Apache2::Reload
+
+ # set local tmp dir
+ SetEnv TMPDIR ${base_dir}/tmp/
+
+ # set library directory
+ PerlSetEnv PERL5LIB ${base_dir}/lib/calcms/
+
+ # preload libraries
+ PerlPostConfigRequire ${base_dir}/lib/calcms/startup.pl
+