#ServerName www.example.com ServerAdmin webmaster@localhost ErrorLog ${APACHE_LOG_DIR}/stat-error_log TransferLog ${APACHE_LOG_DIR}/stat-access_log #don't enable redirect to HTTPS!!! RewriteEngine Off DocumentRoot /opt/Eye/html Options -Indexes -FollowSymLinks AllowOverride All Require all granted AddType application/x-httpd-php .php # Redirect to local php-fpm if mod_php is not available # Enable http authorization headers SetEnvIfNoCase ^Authorization$ "(.+)" HTTP_AUTHORIZATION=$1 # SetHandler "proxy:unix:/run/php/php8.2-fpm-eye.sock|fcgi://127.0.0.1:9002" SetHandler "proxy:fcgi://127.0.0.1:9002" # Deny access to raw php sources by default # To re-enable it's recommended to enable access to the files # only in specific virtual host or directory Require all denied # Deny access to files without filename (e.g. '.php') Require all denied Require all denied Require all denied Require all denied AddDefaultCharset UTF-8 # vim: syntax=apache ts=4 sw=4 sts=4 sr noet