diff options
Diffstat (limited to 'apache2')
-rw-r--r-- | apache2/sites-available/00_virtual | 3 | ||||
-rw-r--r-- | apache2/sites-available/0_default | 25 |
2 files changed, 28 insertions, 0 deletions
diff --git a/apache2/sites-available/00_virtual b/apache2/sites-available/00_virtual new file mode 100644 index 0000000..cb9f97a --- /dev/null +++ b/apache2/sites-available/00_virtual @@ -0,0 +1,3 @@ +UseCanonicalName Off +NameVirtualHost *:80 +NameVirtualHost *:443 diff --git a/apache2/sites-available/0_default b/apache2/sites-available/0_default new file mode 100644 index 0000000..5b96849 --- /dev/null +++ b/apache2/sites-available/0_default @@ -0,0 +1,25 @@ +<VirtualHost *:443> + ServerName wrong.example.com + ServerAdmin webmaster@example.com + DocumentRoot /home/jonas/websites/wrong.example.com + + Include /etc/apache2/conf.d/local-ssl.conf + + <Location /> + Options +MultiViews + DirectoryIndex index + </Location> + AddLanguage da .da +</VirtualHost> +<VirtualHost *> + ServerName wrong.example.com + ServerAlias wrong + ServerAdmin webmaster@example.com + DocumentRoot /home/jonas/websites/wrong.example.com + + <Location /> + Options +MultiViews + DirectoryIndex index + </Location> + AddLanguage da .da +</VirtualHost> |