From 920b50669d87688823ffbcd93fcb31af5f0b51cd Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Sun, 2 Apr 2006 17:43:16 +0000 Subject: Add example default hosts. --- apache2/sites-available/00_virtual | 3 +++ apache2/sites-available/0_default | 25 +++++++++++++++++++++++++ 2 files changed, 28 insertions(+) create mode 100644 apache2/sites-available/00_virtual create mode 100644 apache2/sites-available/0_default 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 @@ + + ServerName wrong.example.com + ServerAdmin webmaster@example.com + DocumentRoot /home/jonas/websites/wrong.example.com + + Include /etc/apache2/conf.d/local-ssl.conf + + + Options +MultiViews + DirectoryIndex index + + AddLanguage da .da + + + ServerName wrong.example.com + ServerAlias wrong + ServerAdmin webmaster@example.com + DocumentRoot /home/jonas/websites/wrong.example.com + + + Options +MultiViews + DirectoryIndex index + + AddLanguage da .da + -- cgit v1.2.3