diff --git a/000-default.conf b/000-default.conf new file mode 100644 index 0000000000000000000000000000000000000000..c44fda8cbd8fb1ba428877ed33972efcd78e51db --- /dev/null +++ b/000-default.conf @@ -0,0 +1,51 @@ + + ServerAdmin webmaster@localhost + + DocumentRoot /var/www/html + + Options Indexes FollowSymLinks MultiViews + # To make wordpress .htaccess work + AllowOverride All + Order allow,deny + allow from all + + + # lipido patch: allow .htaccess to work in any place + + Options Indexes FollowSymLinks MultiViews + # To make wordpress .htaccess work + AllowOverride All + Order allow,deny + allow from all + + Alias /phpmyadmin /var/www/phpmyadmin + + Options Indexes FollowSymLinks MultiViews + # To make wordpress .htaccess work + AllowOverride All + Order allow,deny + allow from all + + + ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ + + AllowOverride None + Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch + Order allow,deny + Allow from all + + + 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 + + diff --git a/Dockerfile b/Dockerfile index 289c7006286cd22004dff945afd94b64ed6f73e4..dda2731b263ca8630640f3d02a3e7b4a7fa93189 100644 --- a/Dockerfile +++ b/Dockerfile @@ -1,4 +1,5 @@ FROM mattrayner/lamp:0.8.0-2004-php8 ENV PHP_DISPLAY_ERRORS Off +ADD 000-default.conf /etc/apache2/sites-available/000-default.conf ADD run.sh /run.sh