#beginConf ErrorLog ${APACHE_LOG_DIR}/Backend_error.log #CustomLog ${APACHE_LOG_DIR}/Backend_custom.log combined DirectoryIndex index.php index.html index.htm DocumentRoot /var/www/html Alias /backend/database /usr/share/phpmyadmin #enables/disables PHPMyadmin deny from all Require all granted Options FollowSymLinks DirectoryIndex index.php SetHandler "proxy:unix:/var/run/php/phpPHPver-fpm-Backend.sock|fcgi://localhost" RewriteEngine on RewriteRule /backend/monit /backend/monit/$1 [R] #enables/disables monit-websocket deny from all ProxyPass unix:/var/run/monit/monit.sock|http://127.0.0.1/ ProxyPassReverse unix:/var/run/monit/monit.sock|http://127.0.0.1/ #endConf