| ServerRoot "/usr" |
| Listen 8080 |
| |
| LoadModule authn_core_module libexec/apache2/mod_authn_core.so |
| LoadModule authz_core_module libexec/apache2/mod_authz_core.so |
| LoadModule deflate_module libexec/apache2/mod_deflate.so |
| LoadModule log_config_module libexec/apache2/mod_log_config.so |
| LoadModule log_forensic_module libexec/apache2/mod_log_forensic.so |
| LoadModule env_module libexec/apache2/mod_env.so |
| LoadModule headers_module libexec/apache2/mod_headers.so |
| LoadModule setenvif_module libexec/apache2/mod_setenvif.so |
| LoadModule mime_module libexec/apache2/mod_mime.so |
| LoadModule unixd_module libexec/apache2/mod_unixd.so |
| LoadModule status_module libexec/apache2/mod_status.so |
| LoadModule negotiation_module libexec/apache2/mod_negotiation.so |
| LoadModule dir_module libexec/apache2/mod_dir.so |
| LoadModule alias_module libexec/apache2/mod_alias.so |
| LoadModule rewrite_module libexec/apache2/mod_rewrite.so |
| |
| <IfDefine PHP5> |
| LoadModule php5_module libexec/apache2/libphp5.so |
| </IfDefine> |
| |
| <IfDefine PHP7> |
| LoadModule php7_module libexec/apache2/libphp7.so |
| </IfDefine> |
| |
| <Directory /> |
| Options Indexes FollowSymLinks MultiViews |
| AllowOverride None |
| Require all granted |
| </Directory> |
| |
| <IfModule dir_module> |
| DirectoryIndex index.html index.php |
| </IfModule> |
| |
| LogLevel warn |
| |
| RewriteEngine On |
| RewriteRule "/data/(.*)$" "/admin/fetch-from-remote.php/data/$1" |
| RewriteRule "/api/(.*)$" "/admin/fetch-from-remote.php/api/$1" |
| |
| <IfModule log_config_module> |
| LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined |
| LogFormat "%h %l %u %t \"%r\" %>s %b" common |
| |
| <IfModule logio_module> |
| LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio |
| </IfModule> |
| |
| CustomLog |/usr/bin/tee common |
| ErrorLog |/usr/bin/tee |
| </IfModule> |
| |
| <IfModule mime_module> |
| AddType text/html .html |
| AddType text/html .htm |
| AddType text/css .css |
| AddType text/javascript .js |
| </IfModule> |
| |
| <IfModule php5_module> |
| AddType application/x-httpd-php .php |
| AddType application/x-httpd-php-source .phps |
| </IfModule> |
| |
| <IfModule php7_module> |
| AddType application/x-httpd-php .php |
| AddType application/x-httpd-php-source .phps |
| </IfModule> |
| |
| Include /private/etc/apache2/extra/httpd-mpm.conf |