diff --git a/setup/resources/apache/apache-site-stub.conf b/setup/resources/apache/apache-site-stub.conf index 3133783..9b540d9 100755 --- a/setup/resources/apache/apache-site-stub.conf +++ b/setup/resources/apache/apache-site-stub.conf @@ -1,10 +1,10 @@ ServerName stub-domain.test ServerAlias www.stub-domain.test - DocumentRoot stub-vhost/stub-folder/public/ + DocumentRoot stub-vhost/stub-folder/ Options Indexes FollowSymLinks - + AllowOverride All Allow from all @@ -31,14 +31,14 @@ ServerName stub-domain.test ServerAlias www.stub-domain.test - DocumentRoot stub-vhost/stub-folder/public/ + DocumentRoot stub-vhost/stub-folder/ Options Indexes FollowSymLinks SSLEngine on SSLCertificateFile "/etc/ssl/certs/ssl-cert-snakeoil.pem" SSLCertificateKeyFile "/etc/ssl/private/ssl-cert-snakeoil.key" - + AllowOverride All Allow from all diff --git a/setup/resources/apache/make-site.sh b/setup/resources/apache/make-site.sh index 65ee00a..093afee 100755 --- a/setup/resources/apache/make-site.sh +++ b/setup/resources/apache/make-site.sh @@ -7,7 +7,7 @@ function usage { } readonly NEW_SITE_DOMAIN="${1}" -readonly NEW_SITE_DIRECTORY="${2:-${1}}" +readonly NEW_SITE_DIRECTORY="${2:-${1}/public}" readonly NGROK_START_NAME="${3:-${1}}" readonly VHOST_DIRECTORY="${VHOST_DIRECTORY:-/var/www/vhost}"