Last active
September 11, 2021 18:54
-
-
Save sh6210/7c5f21176f22156ca4bf93f4ef26f3ca 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
/etc/apache2/sites-available/000-default | |
<VirtualHost *:80> | |
ServerAdmin [email protected] | |
ServerName test.loc | |
ServerAlias www.test.loc | |
DocumentRoot /var/www/html/test | |
<Directory "/var/www/html/test"> | |
AllowOverride all | |
Require all granted | |
Options Indexes FollowSymLinks Includes | |
</Directory> | |
<FilesMatch \.php$> | |
# SetHandler "proxy:unix:/run/php/php5.6-fpm.sock|fcgi://localhost" | |
</FilesMatch> | |
ErrorLog ${APACHE_LOG_DIR}/error.log | |
CustomLog ${APACHE_LOG_DIR}/access.log combined | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment