docker-apache-sql-php/docker/apache/vhosts/000-default.conf

33 lines
636 B
Plaintext
Raw Normal View History

2024-05-13 09:43:55 +00:00
LoadModule rewrite_module /usr/lib/apache2/modules/mod_rewrite.so
2023-11-26 10:54:25 +00:00
2024-05-13 09:43:55 +00:00
<VirtualHost *:80>
ServerName _
2023-11-26 10:54:25 +00:00
ServerAdmin webmaster@localhost
2024-05-13 09:43:55 +00:00
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
2023-11-26 10:54:25 +00:00
2024-05-13 09:43:55 +00:00
FallbackResource /api/public/index.php
</Directory>
<Directory /var/www/html/app>
2023-11-26 10:54:25 +00:00
AllowOverride None
Order Allow,Deny
Allow from All
2024-05-13 09:43:55 +00:00
DirectoryIndex index.html
2023-11-26 10:54:25 +00:00
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
CustomLog ${APACHE_LOG_DIR}/access.log combined
</VirtualHost>
2024-05-13 09:43:55 +00:00