Skip to content
This repository was archived by the owner on Jan 1, 2020. It is now read-only.

Update Dockerfile to fix DocumentRoot config file #390

Closed
wants to merge 1 commit into from

Conversation

texai
Copy link

@texai texai commented Sep 30, 2016

No description provided.

@@ -4,7 +4,7 @@ RUN apt-get update \
&& apt-get install -y git zlib1g-dev \
&& docker-php-ext-install zip \
&& a2enmod rewrite \
&& sed -i 's!/var/www/html!/var/www/public!g' /etc/apache2/apache2.conf \
&& sed -i 's!/var/www/html!/var/www/public!g' /etc/apache2/sites-enabled/000-default.conf \
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is it sufficient to just update the default vhost, or should we continue to also update apache2.conf?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

by default apache2.conf includes every sites-enabled/*.conf file.
So, you don't require edit your apache2.conf file

@rbroen
Copy link

rbroen commented Oct 4, 2016

Push, push, push. This change came just in time for me (after trying to solve it myself).
Thank you guys!

@bitwombat
Copy link

bitwombat commented Nov 23, 2016

Just wasted 30 minutes tracking this same problem down :( Merge please!

@michalbundyra
Copy link
Member

Duplicate #361. For more information please check my comments:
#361 (comment)
zfcampus/zf-apigility-skeleton#150 (comment)

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants