docker-apache-sql-php/docker/apache/vhosts/000-default.conf
2024-05-13 11:43:55 +02:00

33 lines
636 B
Plaintext

LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
<VirtualHost *:80>
ServerName _
ServerAdmin webmaster@localhost
DocumentRoot /var/www/html/
<Directory /var/www/html/api/public>
RewriteEngine On
RewriteBase /var/www/html/api/public
AllowOverride None
Order Allow,Deny
Allow from All
FallbackResource /api/public/index.php
</Directory>
<Directory /var/www/html/app>
AllowOverride None
Order Allow,Deny
Allow from All
DirectoryIndex index.html
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>