From 27e49c9e8b48015ec899d2240749e06490122ec0 Mon Sep 17 00:00:00 2001 From: Thomas Merkel Date: Mon, 4 Aug 2014 18:22:55 +0200 Subject: [PATCH] add default vhost --- copy/opt/local/etc/httpd/conf.d/03-documentroot.conf | 2 +- copy/opt/local/etc/httpd/vhosts/00-default.conf | 7 +++++++ copy/opt/local/share/httpd/htdocs/index.html | 11 +++++++++++ 3 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 copy/opt/local/etc/httpd/vhosts/00-default.conf create mode 100644 copy/opt/local/share/httpd/htdocs/index.html diff --git a/copy/opt/local/etc/httpd/conf.d/03-documentroot.conf b/copy/opt/local/etc/httpd/conf.d/03-documentroot.conf index 5af70aa..e95dda3 100644 --- a/copy/opt/local/etc/httpd/conf.d/03-documentroot.conf +++ b/copy/opt/local/etc/httpd/conf.d/03-documentroot.conf @@ -14,7 +14,7 @@ DocumentRoot "/opt/local/share/httpd/htdocs" # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. - Options Indexes FollowSymLinks + Options -Indexes FollowSymLinks # AllowOverride controls what directives may be placed in .htaccess files. AllowOverride None diff --git a/copy/opt/local/etc/httpd/vhosts/00-default.conf b/copy/opt/local/etc/httpd/vhosts/00-default.conf new file mode 100644 index 0000000..7fb1691 --- /dev/null +++ b/copy/opt/local/etc/httpd/vhosts/00-default.conf @@ -0,0 +1,7 @@ + + DocumentRoot /opt/local/share/httpd/htdocs + + Options -Indexes + Require all granted + + diff --git a/copy/opt/local/share/httpd/htdocs/index.html b/copy/opt/local/share/httpd/htdocs/index.html new file mode 100644 index 0000000..230d0f8 --- /dev/null +++ b/copy/opt/local/share/httpd/htdocs/index.html @@ -0,0 +1,11 @@ + + + + + Hello Friend, this is kumquat + + +

Hello Friend,

+

i'm kumquat the small webhosting management

+ +