Created
January 27, 2022 07:27
-
-
Save bobdobbs/0238f2a9fc8014bb85fce2a15fe332dc to your computer and use it in GitHub Desktop.
This file contains 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/mysitelocaldev | |
Servername rateyourlandlord.localdev | |
<Directory /var/www/mysite.localdev> | |
AllowOverride none | |
FallbackResource /index.php | |
Require all granted | |
Options Indexes FollowSymLinks MultiViews | |
</Directory> | |
ProxyPassMatch ^/(.*\.php(/.*)?)$ unix:/var/run/php/mysite.sock|fcgi://127.0.0.1:9000/var/www/mysite.localdev | |
DirectoryIndex index.php /index.php | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
CustomLog ${APACHE_LOG_DIR}/mysite.localdev.access-log combined | |
ErrorLog ${APACHE_LOG_DIR}/mysite.localdev.error-log | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment