33 lines
636 B
Plaintext
Raw Permalink Normal View History

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