33 lines
636 B
Plaintext
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>
|
|
|