}
print "Installing Apache HTTP Server 2.x with" >tstfl;
- print " DomainName = " domainname >tstfl;
- print " ServerName = " servername >tstfl;
- print " ServerAdmin = " serveradmin >tstfl;
- print " ServerPort = " serverport >tstfl;
+ print " DomainName = " domainname >tstfl;
+ print " ServerName = " servername >tstfl;
+ print " ServerAdmin = " serveradmin >tstfl;
+ print " ServerPort = " serverport >tstfl;
print " ServerSslPort = " serversslport >tstfl;
- print " ServerRoot = " serverroot >tstfl;
+ print " ServerRoot = " serverroot >tstfl;
filelist["httpd.conf"] = "httpd.conf.in";
filelist["httpd-autoindex.conf"] = "httpd-autoindex.conf.in";
print "LoadModule asis_module modules/mod_asis.so" > dstfl;
print "LoadModule auth_basic_module modules/mod_auth_basic.so" > dstfl;
print "#LoadModule auth_digest_module modules/mod_auth_digest.so" > dstfl;
+ print "#LoadModule auth_form_module modules/mod_auth_form.so" > dstfl;
print "#LoadModule authn_anon_module modules/mod_authn_anon.so" > dstfl;
print "LoadModule authn_core_module modules/mod_authn_core.so" > dstfl;
print "#LoadModule authn_dbd_module modules/mod_authn_dbd.so" > dstfl;
print "#LoadModule authn_dbm_module modules/mod_authn_dbm.so" > dstfl;
print "LoadModule authn_file_module modules/mod_authn_file.so" > dstfl;
print "#LoadModule authn_socache_module modules/mod_authn_socache.so" > dstfl;
+ print "#LoadModule authnz_fcgi_module modules/mod_authnz_fcgi.so" > dstfl;
print "#LoadModule authnz_ldap_module modules/mod_authnz_ldap.so" > dstfl;
print "LoadModule authz_core_module modules/mod_authz_core.so" > dstfl;
print "#LoadModule authz_dbd_module modules/mod_authz_dbd.so" > dstfl;
print "#LoadModule ext_filter_module modules/mod_ext_filter.so" > dstfl;
print "#LoadModule file_cache_module modules/mod_file_cache.so" > dstfl;
print "#LoadModule filter_module modules/mod_filter.so" > dstfl;
+ print "#LoadModule http2_module modules/mod_http2.so" > dstfl;
print "#LoadModule headers_module modules/mod_headers.so" > dstfl;
print "#LoadModule heartbeat_module modules/mod_heartbeat.so" > dstfl;
print "#LoadModule heartmonitor_module modules/mod_heartmonitor.so" > dstfl;
print "#LoadModule proxy_express_module modules/mod_proxy_express.so" > dstfl;
print "#LoadModule proxy_fcgi_module modules/mod_proxy_fcgi.so" > dstfl;
print "#LoadModule proxy_ftp_module modules/mod_proxy_ftp.so" > dstfl;
+ print "#LoadModule proxy_hcheck_module modules/mod_proxy_hcheck.so" > dstfl;
print "#LoadModule proxy_html_module modules/mod_proxy_html.so" > dstfl;
print "#LoadModule proxy_http_module modules/mod_proxy_http.so" > dstfl;
print "#LoadModule proxy_scgi_module modules/mod_proxy_scgi.so" > dstfl;
+ print "#LoadModule proxy_wstunnel_module modules/mod_proxy_wstunnel.so" > dstfl;
+ print "#LoadModule proxy_http2_module modules/mod_proxy_http2.so" > dstfl;
print "#LoadModule ratelimit_module modules/mod_ratelimit.so" > dstfl;
print "#LoadModule reflector_module modules/mod_reflector.so" > dstfl;
print "#LoadModule remoteip_module modules/mod_remoteip.so" > dstfl;
print "#LoadModule xml2enc_module modules/mod_xml2enc.so" > dstfl;
continue;
}
- gsub( /@@ServerRoot@@/, serverroot );
- gsub( /@exp_cgidir@/, serverroot "/cgi-bin" );
- gsub( /@exp_sysconfdir@/, serverroot "/conf" );
- gsub( /@exp_errordir@/, serverroot "/error" );
- gsub( /@exp_htdocsdir@/, serverroot "/htdocs" );
- gsub( /@exp_iconsdir@/, serverroot "/icons" );
- gsub( /@exp_manualdir@/, serverroot "/manual" );
- gsub( /@exp_runtimedir@/, serverroot "/logs" );
- if ( gsub( /@exp_logfiledir@/, serverroot "/logs" ) ||
+ if ( /^ServerRoot / ) {
+ print "Define SRVROOT \"" serverroot "\"" > dstfl;
+ print "" > dstfl;
+ }
+ gsub( /@@ServerRoot@@/, "\${SRVROOT}" );
+ gsub( /@exp_cgidir@/, "\${SRVROOT}" "/cgi-bin" );
+ gsub( /@exp_sysconfdir@/, "\${SRVROOT}" "/conf" );
+ gsub( /@exp_errordir@/, "\${SRVROOT}" "/error" );
+ gsub( /@exp_htdocsdir@/, "\${SRVROOT}" "/htdocs" );
+ gsub( /@exp_iconsdir@/, "\${SRVROOT}" "/icons" );
+ gsub( /@exp_manualdir@/, "\${SRVROOT}" "/manual" );
+ gsub( /@exp_runtimedir@/, "\${SRVROOT}" "/logs" );
+ if ( gsub( /@exp_logfiledir@/, "\${SRVROOT}" "/logs" ) ||
gsub( /@rel_logfiledir@/, "logs" ) ) {
gsub( /_log"/, ".log\"" )
}