diff options
author | Jonas Smedegaard <dr@jones.dk> | 2006-04-02 17:43:16 +0000 |
---|---|---|
committer | Jonas Smedegaard <dr@jones.dk> | 2006-04-02 17:43:16 +0000 |
commit | 920b50669d87688823ffbcd93fcb31af5f0b51cd (patch) | |
tree | 1df07180592d08dfa2c38afeb08f5f71777d4645 | |
parent | 2856e091c5cbbc9f3e904abab19910eb62a6ba4c (diff) |
Add example default hosts.
-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> |