Apache httpd configuration

hosts.conf
<VirtualHost *:80> ServerName example.termweb.eu DocumentRoot "/var/www/termweb4" RewriteEngine On <IfDefine Maintenance> ErrorDocument 503 /maintenance/index.html RewriteEngine on RewriteCond %{REQUEST_URI} !=/maintenance/index.html RewriteCond %{REQUEST_URI} !^/INTV_bg_min\..+\.jpg$ RewriteRule ^ - [R=503,L] </IfDefine> <IfDefine !Maintenance> <Directory /var/www/termweb4/> Options Indexes FollowSymLinks MultiViews AllowOverride None AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript application/json Order allow,deny allow from all RewriteCond %{REQUEST_FILENAME} !-f RewriteRule ^.+$ index.html [L] </Directory> ProxyPreserveHost on ProxyPass /api http://localhost:8080/api ProxyPassReverse /api http://localhost:8080/api ProxyPass /js http://localhost:8080/js ProxyPassReverse /js http://localhost:8080/js ProxyPass /help http://localhost:8080/help ProxyPassReverse /help http://localhost:8080/help ProxyPass /custom http://localhost:8080/custom ProxyPassReverse /custom http://localhost:8080/custom ProxyPass /layout http://localhost:8080/layout ProxyPassReverse /layout http://localhost:8080/layout ProxyPass /tw4 http://localhost:8080/tw4 ProxyPassReverse /tw4 http://localhost:8080/tw4 ProxyPass /app http://localhost:8080/app ProxyPassReverse /app http://localhost:8080/app ProxyPass /services http://localhost:8080/services ProxyPassReverse /services http://localhost:8080/services ProxyPassReverse /login http://localhost:8080/login ProxyPass /login-openid http://localhost:8080/login-openid ProxyPassReverse /login-openid http://localhost:8080/login-openid ProxyPass /login-oidc http://localhost:8080/login-oidc ProxyPassReverse /login-oidc http://localhost:8080/login-oidc ProxyPass /login-saml http://localhost:8080/login-saml ProxyPassReverse /login-saml http://localhost:8080/login-saml ProxyTimeout 1200 AddOutputFilterByType DEFLATE application/json </IfDefine> ErrorLog logs/example.termweb.eu-error_log CustomLog logs/example.termweb.eu-access_log common </VirtualHost>