Files
project-manager/docker/apache.conf
T

24 lines
920 B
ApacheConf
Raw Normal View History

# Alpine's apache2 package ships mod_rewrite but doesn't load it, and defaults
# to a document root (and log files) that don't match this project -- this
# file (auto-included via httpd.conf's "IncludeOptional conf.d/*.conf")
# overrides just those bits, on top of what php83-apache2's own
# conf.d/php83-module.conf already wired up (LoadModule for mod_php, the
# .php handler).
LoadModule rewrite_module modules/mod_rewrite.so
2026-09-03 17:45:35 +01:00
ServerName localhost
DocumentRoot "/var/www/html/public"
2026-09-03 17:45:35 +01:00
<Directory "/var/www/html/public">
Options -Indexes +FollowSymLinks
AllowOverride All
Require all granted
DirectoryIndex index.html index.php
</Directory>
# Alpine's own defaults log to a real file under ServerRoot (logs/*.log) --
# stdout/stderr instead, so `docker logs` shows them, the way the official
# Debian php:apache image's symlinked log paths used to.
ErrorLog /dev/stderr
CustomLog /dev/stdout combined