Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Fix Apache rewrite rules not working (#145) #146

Merged
merged 1 commit into from
Sep 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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