diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/004-git.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/004-git.conf deleted file mode 100644 index 97270e6d056..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/004-git.conf +++ /dev/null @@ -1,25 +0,0 @@ - -ServerName git.sapsailing.com -SetEnv GIT_PROJECT_ROOT /home/trac/git -SetEnv GIT_HTTP_EXPORT_ALL -ScriptAlias /git/ /usr/libexec/git-core/git-http-backend/ -ScriptAlias /hooks/ /var/www/cgi-bin/ - - - Options +ExecCGI - AuthType Basic - AuthName 'Git' - AuthUserFile '/etc/httpd/conf/passwd.git' - Require valid-user - - - - AllowOverride None - Options FollowSymLinks - Order allow,deny - Allow from all - - -SetEnvIf User-Agent ".*MSIE.*" \ - downgrade-1.0 force-response-1.0 - diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/006-docker-registry.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/006-docker-registry.conf deleted file mode 100644 index a8a59f71935..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/006-docker-registry.conf +++ /dev/null @@ -1,39 +0,0 @@ - - ServerName docker.sapsailing.com - ProxyPreserveHost on - ProxyPass / http://127.0.0.1:5000/ - ProxyPassReverse / http://127.0.0.1:5000/ - - Order deny,allow - Allow from all - AuthName "Docker Registry Authentication" - AuthType basic - AuthUserFile '/etc/httpd/conf/passwd.git' - Require valid-user - - # Use separate log files for the SSL virtual host; note that LogLevel - # is not inherited from httpd.conf. - ErrorLog logs/docker_error_log - TransferLog logs/docker_access_log - LogLevel warn - - - - ServerName docker-registry.sapsailing.com - ProxyPreserveHost on - ProxyPass /v2 http://127.0.0.1:5001/v2 - ProxyPassReverse /v2 http://127.0.0.1:5001/v2 - - Order deny,allow - Allow from all - AuthName "Docker Registry Authentication" - AuthType basic - AuthUserFile '/etc/httpd/conf/passwd.git' - Require valid-user - - # Use separate log files for the SSL virtual host; note that LogLevel - # is not inherited from httpd.conf. - ErrorLog logs/docker_error_log - TransferLog logs/docker_access_log - LogLevel warn - diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/007-sail-insight.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/007-sail-insight.conf deleted file mode 100644 index 99512acd0c0..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/007-sail-insight.conf +++ /dev/null @@ -1,14 +0,0 @@ -# sail-insight.com - - ServerName sail-insight.com - ServerAlias www.sail-insight.com - CustomLog logs/services_log combined env=!original_client_ip - CustomLog logs/services_log first_forwarded_for_ip env=original_client_ip - Alias / /home/trac/sail-insight-website/ - - Options Indexes FollowSymLinks MultiViews - AllowOverride All - Order allow,deny - allow from all - - diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/awstats.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/awstats.conf deleted file mode 100644 index 71f8ca03299..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/awstats.conf +++ /dev/null @@ -1,56 +0,0 @@ -# -# Content of this file, with correct values, can be automatically added to -# your Apache server by using the AWStats configure.pl tool. -# - - -# If using Windows and Perl ActiveStat, this is to enable Perl script as CGI. -#ScriptInterpreterSource registry - - -# -# Directives to add to your Apache conf file to allow use of AWStats as a CGI. -# Note that path "/usr/share/awstats/" must reflect your AWStats install path. -# -Alias /awstatsclasses "/usr/share/awstats/wwwroot/classes/" -Alias /awstatscss "/usr/share/awstats/wwwroot/css/" -Alias /awstatsicons "/usr/share/awstats/wwwroot/icon/" -ScriptAlias /awstats/ "/usr/share/awstats/wwwroot/cgi-bin/" - -# Adding access to /var/log/old/cache/unique-ips-per-referrer/stats: -Alias /unique-visitors/ "/var/log/old/cache/unique-ips-per-referrer/stats/" - -# -# This is to permit URL access to scripts/files in AWStats directory. -# - - ServerName awstats.sapsailing.com - CustomLog logs/awstats_access_log combined - ErrorLog logs/awstats_error_log - - - Options None -# AllowOverride None -# Order allow,deny -# Allow from 127.0.0.1 - AuthType Basic - AuthName 'awstats' - AuthUserFile /etc/httpd/conf/passwd.awstats - Require valid-user - - - - Options Indexes -# AllowOverride None -# Order allow,deny -# Allow from 127.0.0.1 - AuthType Basic - AuthName 'awstats' - AuthUserFile /etc/httpd/conf/passwd.awstats - Require valid-user - -# Additional Perl modules - - SetEnv PERL5LIB /usr/share/awstats/lib:/usr/share/awstats/plugins:/root/perl5/lib/perl5 - - diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/central-only-virtual-hosts.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/central-only-virtual-hosts.conf deleted file mode 100644 index ddd678ce2a4..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/central-only-virtual-hosts.conf +++ /dev/null @@ -1,78 +0,0 @@ - - ServerName jobs.sapsailing.com - CustomLog logs/jobs_log combined env=!original_client_ip - CustomLog logs/jobs_log first_forwarded_for_ip env=original_client_ip - DocumentRoot /home/trac/static/jobs - - Options Indexes FollowSymLinks MultiViews - AllowOverride All - Order allow,deny - allow from all - - - -# P2 repository - - ServerName p2.sapsailing.com - CustomLog logs/services_log combined env=!original_client_ip - CustomLog logs/services_log first_forwarded_for_ip env=original_client_ip - Alias /p2 /home/trac/p2-repositories - - Options Indexes FollowSymLinks MultiViews - AllowOverride None - Order allow,deny - allow from all - - - - - ServerName bugzilla.sapsailing.com - RewriteEngine On - RewriteRule ^/?$ http://bugzilla.sapsailing.com/bugzilla [L] - CustomLog logs/services_log combined env=!original_client_ip - CustomLog logs/services_log first_forwarded_for_ip env=original_client_ip - Alias /bugzilla /usr/share/bugzilla - - AddHandler cgi-script .cgi - Options +Indexes +ExecCGI +FollowSymLinks - DirectoryIndex index.cgi - AllowOverride Limit Options FileInfo Indexes AuthConfig - - # Additional Perl modules - - SetEnv PERL5LIB /root/perl5/lib/perl5:/root/perl5/lib/perl5/x86_64-linux-thread-multi - - - -# Wiki --> - - ServerName wiki.sapsailing.com - RewriteEngine on - RewriteRule ^/(.*) http://localhost:4567/$1 [P,L] - ProxyPassReverse / http://localhost:4567/ - CustomLog logs/services_log combined env=!original_client_ip - CustomLog logs/services_log first_forwarded_for_ip env=original_client_ip - - - - ServerName releases.sapsailing.com - DocumentRoot /home/trac/releases - - Options +Indexes +FollowSymLinks - - CustomLog logs/services_log combined env=!original_client_ip - CustomLog logs/services_log first_forwarded_for_ip env=original_client_ip - - - - ServerName static.sapsailing.com - DocumentRoot /var/www/static - - Order Deny,Allow - Allow from all - Options -Indexes +FollowSymLinks -ExecCGI - AllowOverride All - - CustomLog logs/services_log combined env=!original_client_ip - CustomLog logs/services_log first_forwarded_for_ip env=original_client_ip - diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/loadPhp.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/loadPhp.conf deleted file mode 100644 index 67a415dca06..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/loadPhp.conf +++ /dev/null @@ -1 +0,0 @@ -LoadModule php7_module modules/libphp-7.1.so diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/perl.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/perl.conf deleted file mode 100644 index 30d5d16f3bd..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/perl.conf +++ /dev/null @@ -1,48 +0,0 @@ -# -# Mod_perl incorporates a Perl interpreter into the Apache web server, -# so that the Apache web server can directly execute Perl code. -# Mod_perl links the Perl runtime library into the Apache web server -# and provides an object-oriented Perl interface for Apache's C -# language API. The end result is a quicker CGI script turnaround -# process, since no external Perl interpreter has to be started. -# - -# Uncomment this line to globally enable warnings, which will be -# written to the server's error log. Warnings should be enabled -# during the development process, but should be disabled on a -# production server as they affect performance. -# -#PerlSwitches -w - -# Uncomment this line to enable taint checking globally. When Perl is -# running in taint mode various checks are performed to reduce the -# risk of insecure data being passed to a subshell or being used to -# modify the filesystem. Unfortunately many Perl modules are not -# taint-safe, so you should exercise care before enabling it on a -# production server. -# -#PerlSwitches -T - -# This will allow execution of mod_perl to compile your scripts to -# subroutines which it will execute directly, avoiding the costly -# compile process for most requests. -# -#Alias /perl /var/www/perl -# -# SetHandler perl-script -# PerlResponseHandler ModPerl::Registry -# PerlOptions +ParseHeaders -# Options +ExecCGI -# - -# This will allow remote server configuration reports, with the URL of -# http://servername/perl-status -# Change the ".example.com" to match your domain to enable. -# -# -# SetHandler perl-script -# PerlResponseHandler Apache2::Status -# Order deny,allow -# Deny from all -# Allow from .example.com -# diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/php-conf.7.1 b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/php-conf.7.1 deleted file mode 100644 index 2c8064ed7f1..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/php-conf.7.1 +++ /dev/null @@ -1,57 +0,0 @@ -# -# The following lines prevent .user.ini files from being viewed by Web clients. -# - - Require all denied - - -# -# Allow php to handle Multiviews -# -AddType text/html .php - -# -# Add index.php to the list of files that will be served as directory -# indexes. -# -DirectoryIndex index.php - -# mod_php options - - # - # Cause the PHP interpreter to handle files with a .php extension. - # - - SetHandler application/x-httpd-php - - - # - # Uncomment the following lines to allow PHP to pretty-print .phps - # files as PHP source code: - # - # - # SetHandler application/x-httpd-php-source - # - - # - # Apache specific PHP configuration options - # those can be override in each configured vhost - # - php_value session.save_handler "files" - php_value session.save_path "/var/lib/php/7.1/session" - php_value soap.wsdl_cache_dir "/var/lib/php/7.1/wsdlcache" - - #php_value opcache.file_cache "/var/lib/php/7.1/opcache" - - -# 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-fpm/www.sock|fcgi://localhost" - - - diff --git a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/php.conf b/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/php.conf deleted file mode 100644 index 2c8064ed7f1..00000000000 --- a/configuration/environments_scripts/central_reverse_proxy/files/etc/httpd/central-config.d/php.conf +++ /dev/null @@ -1,57 +0,0 @@ -# -# The following lines prevent .user.ini files from being viewed by Web clients. -# - - Require all denied - - -# -# Allow php to handle Multiviews -# -AddType text/html .php - -# -# Add index.php to the list of files that will be served as directory -# indexes. -# -DirectoryIndex index.php - -# mod_php options - - # - # Cause the PHP interpreter to handle files with a .php extension. - # - - SetHandler application/x-httpd-php - - - # - # Uncomment the following lines to allow PHP to pretty-print .phps - # files as PHP source code: - # - # - # SetHandler application/x-httpd-php-source - # - - # - # Apache specific PHP configuration options - # those can be override in each configured vhost - # - php_value session.save_handler "files" - php_value session.save_path "/var/lib/php/7.1/session" - php_value soap.wsdl_cache_dir "/var/lib/php/7.1/wsdlcache" - - #php_value opcache.file_cache "/var/lib/php/7.1/opcache" - - -# 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-fpm/www.sock|fcgi://localhost" - - -