Skip to content

Commit

Permalink
[5.x] Fix Apache rewrite rules not working (#145) (#146)
Browse files Browse the repository at this point in the history
  • Loading branch information
shinsenter authored Sep 10, 2024
1 parent 0ac02c6 commit afec8b8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/php/with-apache/rootfs/etc/apache2/apache2.conf
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ Timeout 60
<Directory ${APP_PATH}>
AllowOverride all
Require all granted
Options -Indexes +FollowSymLinks +MultiViews
Options -Indexes +FollowSymLinks -MultiViews
</Directory>

# enable CORS for web fonts
Expand Down
4 changes: 1 addition & 3 deletions src/php/with-apache/rootfs/etc/cont-init.d/zz-start-apache
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,7 @@

export APP_PATH="$(app-path)"
export APP_ROOT="$(app-root)"

apache-conf 'DocumentRoot' "$(app-root)"
apache-conf 'PidFile' "${APACHE_PID:-/run/apache2.pid}"
export APACHE_PID="${APACHE_PID:-/run/apache2.pid}"

if [ ! -z "$PHP_MAX_EXECUTION_TIME" ] && [ "$PHP_MAX_EXECUTION_TIME" -gt "0" ]; then
echo "
Expand Down

0 comments on commit afec8b8

Please sign in to comment.