Created
December 18, 2019 09:09
-
-
Save ejoful/e0b13a27ba4f2c4d7a09fc43bd952311 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost *:80> | |
DocumentRoot "/var/www/html/website/run/frontend/web" | |
ServerName qt.website.com | |
ErrorLog "logs/website_qt-error.log" | |
CustomLog "logs/website_qt-access.log" common | |
<Directory "/var/www/html/website/run/frontend/web"> | |
# use mod_rewrite for pretty URL support | |
RewriteEngine on | |
# If a directory or a file exists, use the request directly | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# Otherwise forward the request to index.php | |
RewriteRule . index.php | |
# ...other settings... | |
</Directory> | |
</VirtualHost> | |
<VirtualHost *:80> | |
DocumentRoot "/var/www/html/website/run/backend/web" | |
ServerName ht.website.com | |
ErrorLog "logs/website_ht-error.log" | |
CustomLog "logs/website_ht-access.log" common | |
<Directory "/var/www/html/website/run/backend/web"> | |
# use mod_rewrite for pretty URL support | |
RewriteEngine on | |
# If a directory or a file exists, use the request directly | |
RewriteCond %{REQUEST_FILENAME} !-f | |
RewriteCond %{REQUEST_FILENAME} !-d | |
# Otherwise forward the request to index.php | |
RewriteRule . index.php | |
# ...other settings... | |
</Directory> | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment