You need to sign in or sign up before continuing.

Fixes allowing .htaccess in htdocs

Since last commit (image update), the .htaccess
inside user app directories didn't work anymore.
This commit fixes this.
parent 33fa6329
<VirtualHost *:80>
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html
<Directory />
Options Indexes FollowSymLinks MultiViews
# To make wordpress .htaccess work
AllowOverride All
Order allow,deny
allow from all
</Directory>
# lipido patch: allow .htaccess to work in any place
<Directory /var/www>
Options Indexes FollowSymLinks MultiViews
# To make wordpress .htaccess work
AllowOverride All
Order allow,deny
allow from all
</Directory>
Alias /phpmyadmin /var/www/phpmyadmin
<Directory /phpmyadmin>
Options Indexes FollowSymLinks MultiViews
# To make wordpress .htaccess work
AllowOverride All
Order allow,deny
allow from all
</Directory>
ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/
<Directory "/usr/lib/cgi-bin">
AllowOverride None
Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
#
# Set HTTPS environment variable if we came in over secure
# channel.
SetEnvIf x-forwarded-proto https HTTPS=on
</VirtualHost>
FROM mattrayner/lamp:0.8.0-2004-php8 FROM mattrayner/lamp:0.8.0-2004-php8
ENV PHP_DISPLAY_ERRORS Off ENV PHP_DISPLAY_ERRORS Off
ADD 000-default.conf /etc/apache2/sites-available/000-default.conf
ADD run.sh /run.sh ADD run.sh /run.sh
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment