ServerRoot "/usr/local"
LoadModule authn_file_module libexec/apache24/mod_authn_file.so
LoadModule authn_core_module libexec/apache24/mod_authn_core.so
LoadModule authz_host_module libexec/apache24/mod_authz_host.so
LoadModule authz_groupfile_module libexec/apache24/mod_authz_groupfile.so
LoadModule authz_user_module libexec/apache24/mod_authz_user.so
LoadModule authz_core_module libexec/apache24/mod_authz_core.so
LoadModule access_compat_module libexec/apache24/mod_access_compat.so
LoadModule auth_basic_module libexec/apache24/mod_auth_basic.so
LoadModule reqtimeout_module libexec/apache24/mod_reqtimeout.so
LoadModule filter_module libexec/apache24/mod_filter.so
LoadModule mime_module libexec/apache24/mod_mime.so
LoadModule log_config_module libexec/apache24/mod_log_config.so
LoadModule env_module libexec/apache24/mod_env.so
LoadModule headers_module libexec/apache24/mod_headers.so
LoadModule setenvif_module libexec/apache24/mod_setenvif.so
LoadModule version_module libexec/apache24/mod_version.so
LoadModule ssl_module libexec/apache24/mod_ssl.so
LoadModule unixd_module libexec/apache24/mod_unixd.so
LoadModule status_module libexec/apache24/mod_status.so
LoadModule autoindex_module libexec/apache24/mod_autoindex.so
LoadModule dir_module libexec/apache24/mod_dir.so
LoadModule alias_module libexec/apache24/mod_alias.so
LoadModule fastcgi_module libexec/apache24/mod_fastcgi.so
User www
Group www
ServerAdmin you@example.com
ServerName localhost:38141
AllowOverride none
Require all denied
DocumentRoot "/path/to/your/web-1/web"
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
DirectoryIndex index.html
Require all denied
ErrorLog "/path/to/your/web-1/error.log"
LogLevel warn
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\"" combined
LogFormat "%h %l %u %t \"%r\" %>s %b" common
LogFormat "%h %l %u %t \"%r\" %>s %b \"%{Referer}i\" \"%{User-Agent}i\" %I %O" combinedio
CustomLog "/path/to/your/web-1/access.log" combined
ScriptAlias /cgi-bin/ "/usr/local/www/apache24/cgi-bin/"
TypesConfig etc/apache24/mime.types
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
Include etc/apache24/extra/proxy-html.conf
SSLRandomSeed startup builtin
SSLRandomSeed connect builtin
Include etc/apache24/extra/httpd-vhosts.conf
Listen 38141
PidFile "/path/to/your/web-1/httpd.pid"
Mutex default:/path/to/your/web-1/mutex-dir/
ServerName localhost
DocumentRoot /path/to/your/web-1/web
Alias /index "/path/to/your/web-1/web"
Options +Indexes
AllowOverride None
Require all granted
ScriptAlias /fcgi-bin/ /path/to/your/web-1/out/artifacts/web_1_jar/
SetHandler fastcgi-script
Options +ExecCGI
Require all granted
FastCgiExternalServer /path/to/your/web-1/out/artifacts/web_1_jar/app.jar -host localhost:35473