added initial apache configuration/setup

This commit is contained in:
2020-08-20 15:28:07 +02:00
parent c532f01a8d
commit d7e7ecf841
12 changed files with 110 additions and 1 deletions

View File

@@ -0,0 +1,21 @@
#beginConf
ErrorLog ${APACHE_LOG_DIR}/s2_error.log
#CustomLog ${APACHE_LOG_DIR}/s2_custom.log combined
DirectoryIndex index.php index.html index.htm
DocumentRoot /var/www/DOMAINname/html;
<Directory /var/www/site1.your_domain>
Options Indexes FollowSymLinks MultiViews
AllowOverride All
Order allow,deny
allow from all
</Directory>
<FilesMatch \.php$>
SetHandler "proxy:unix:/var/run/php/phpPHPver-fpm-SITEname.sock|fcgi://localhost"
</FilesMatch>
#endConf