Commit b91f4116 authored by Johannes Zellner's avatar Johannes Zellner

Allow /admin login path

parent 930e6014
......@@ -15,6 +15,9 @@ RUN ln -s /run/servername.conf /etc/apache2/conf-available/servername.conf && to
RUN a2disconf other-vhosts-access-log && a2enmod rewrite && a2enconf servername
COPY apache/limesurvey.conf /etc/apache2/sites-enabled/limesurvey.conf
# Overwrite the default .htaccess to allow /admin login path
COPY htaccess /app/code/.htaccess
RUN crudini --set /etc/php/7.0/apache2/php.ini PHP upload_max_filesize 5G && \
crudini --set /etc/php/7.0/apache2/php.ini PHP post_max_size 5G && \
crudini --set /etc/php/7.0/apache2/php.ini opcache opcache.enable 1 && \
......@@ -6,4 +6,4 @@ This app instance is pre-setup with an admin account.
**Please change the admin password on first login**
The admin panel is available at /index.php?r=admin
The admin panel is available at /admin
<IfModule mod_rewrite.c>
RewriteEngine on
# if a directory or a file exists, use it directly
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
# otherwise forward it to index.php
RewriteRule . index.php
# General setting to properly handle LimeSurvey paths
# AcceptPathInfo on
\ No newline at end of file
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment