21 lines
604 B
Plaintext
21 lines
604 B
Plaintext
<VirtualHost *:80>
|
|
ServerName localhost
|
|
DocumentRoot /usr/local/apache2/htdocs
|
|
|
|
<Directory /usr/local/apache2/htdocs>
|
|
Options Indexes FollowSymLinks
|
|
AllowOverride All
|
|
Require all granted
|
|
</Directory>
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
#<FilesMatch \.php$>
|
|
# SetHandler "proxy:fcgi://php:9000/var/www/html/public"
|
|
#</FilesMatch>
|
|
|
|
ProxyPassMatch "^/(.*\.php(/.*)?)$" "fcgi://php:9000/var/www/html/public/$1"
|
|
|
|
ErrorLog /usr/local/apache2/logs/error.log
|
|
CustomLog /usr/local/apache2/logs/access.log combined
|
|
</VirtualHost> |