Skip to content

Commit a8b9c0d

Browse files
committed
Close issue #122
1 parent db8bdfe commit a8b9c0d

1 file changed

Lines changed: 5 additions & 3 deletions

File tree

entrypoint.sh

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -155,9 +155,11 @@ if ! [ -z "${LB_PATH}" ]; then
155155
-i /etc/apache2/sites-enabled/000-default.conf \
156156
-e "s:/var/www/html:/var/www:"
157157

158-
## Rename the html directory as the URL prefix
159-
ln -s /var/www/html "/var/www/${LB_PATH}"
160-
chown www-data:www-data "/var/www/${LB_PATH}"
158+
## Create a link to the htnl directory
159+
pushd /var/www
160+
ln -s html "${LB_PATH}"
161+
chown www-data:www-data "${LB_PATH}"
162+
popd
161163

162164
## Adapt the .htaccess file
163165
sed \

0 commit comments

Comments
 (0)