#Listen 443
ServerName www.trade-ideas.com
AddOutputFilterByType BROTLI_COMPRESS text/html text/plain text/xml text/css text/javascript application/javascript
AddOutputFilterByType DEFLATE text/html text/plain text/xml text/css text/javascript application/javascript
# This is the real document root.
#
# Possible values for the Options directive are "None", "All",
# or any combination of:
# Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
# The Options directive is both complicated and important. Please see
# http://httpd.apache.org/docs-2.0/mod/core.html#options
# for more information.
#
Options Indexes FollowSymLinks
#
# AllowOverride controls what directives may be placed in .htaccess files.
# It can be "All", "None", or any combination of the keywords:
# Options FileInfo AuthConfig Limit
#
AllowOverride None
#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
# Custom timeouts. These appear to be ignored by a lot of browsers.
ExpiresActive On
ExpiresByType image/gif A2592000
ExpiresByType text/css A43200
ExpiresDefault "now plus 12 months"
ExpiresDefault "now"
# Hide git directories.
# https://serverfault.com/a/527911
RedirectMatch 404 /\.git
DirectoryIndex index.html Index.html index.php
Options -Indexes
AddType application/x-httpd-php .html
#
# AddType application/x-httpd-php .html
#
#
# AddType application/x-httpd-php .html
#
#
# AddType application/x-httpd-php .html
#
#
# AddType application/x-httpd-php .html
#
#
# AddType application/x-httpd-php .html
# AuthType Basic
# AuthName "Stats"
# AuthUserFile /var/www/passwords/secure
# AuthGroupFile /var/www/passwords/groups
# Require group employees
#
#
# AddType application/x-httpd-php .html
#
#AliasMatch ^/GifCharts(/.*)?$ /var/www/alldocs/main/empty_file
AuthType None
Order Deny,Allow
Allow from all
Satisfy any
AuthType Basic
AuthName "Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees IIT
AuthType None
Order Deny,Allow
Allow from all
Satisfy any
AuthType None
Require all granted
AuthName "Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
AuthType None
Order Deny,Allow
Allow from all
Satisfy any
DirectoryIndex index.html Index.html index.php
AuthType Basic
AuthName "Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
AuthType None
Order Deny,Allow
Allow from all
Satisfy any
Alias /home /var/www/alldocs/home
Options -Indexes
DirectoryIndex index.html Index.html index.php
Options Indexes FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
Require user Kathleen
Require user Mike
DirectoryIndex index.html Index.html index.php
Options Indexes FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "Pristine Back Office"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
Require group pristine
DirectoryIndex index.html Index.html index.php
Options Indexes FollowSymLinks
AllowOverride None
AuthType Basic
AuthName "Third Party Billing"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
Require group generic_third_party
AddType application/x-httpd-php .html
AddType application/x-httpd-php .html
#
#
Order allow,deny
Deny from all
Satisfy All
Order allow,deny
Deny from all
Satisfy All
Order allow,deny
Deny from all
Satisfy All
AuthType Basic
AuthName "Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
Header set "Cache-Control" "no-cache, no-store"
Header set "Cache-Control" "no-cache, no-store"
Header set "Cache-Control" "no-cache, no-store"
AuthType Basic
AuthName "Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
# Require group employees
# This doesn't work well. It stops people from just typing Samples. But if
# they end the url with a / then they see everything without a password.
Require group employees
AddType text/html .html
# aliases
DirectoryIndex TIPro.html
DocumentRoot /var/www/alldocs/www.trade-ideas.com
ServerName www.trade-ideas.com
ServerAlias hadoop.trade-ideas.com
Alias /TIProWeb /var/www/alldocs/aliases/TIProWeb
Alias /TIProWeb.new /var/www/alldocs/aliases/TIProWeb.new
AddType application/x-httpd-php .html
AliasMatch ^/Glossary/.*\.gif$ /var/www/alldocs/main$0
AliasMatch ^/Glossary(/.*)? /var/www/alldocs/main/Glossary.html
AliasMatch ^/SingleAlertType(/.*)?$ /var/www/alldocs/main/SingleAlertType.html
AliasMatch ^(/StockInfo/_[^/]*)$ /var/www/alldocs/main$1
AliasMatch ^/StockInfo/[^/]*$ /var/www/alldocs/main/StockInfo/Index.html
AliasMatch ^/StockInfo/.*/ /var/www/alldocs/main/StockInfo/StockInfo.html
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/access.main.%Y%m%d.log 86400" common
ErrorLog "|/usr/sbin/rotatelogs -l /var/log/httpd/error.main.%Y%m%d.log 86400"
#AliasMatch ^/ /var/www/alldocs/main/RealAddress.html
Listen 8080
DocumentRoot /var/www/alldocs/secure.trade-ideas.com
ServerName secure.trade-ideas.com
AddType application/x-httpd-php .html
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/access.stats.%Y%m%d.log 86400" common
ErrorLog "|/usr/sbin/rotatelogs -l /var/log/httpd/error.stats.%Y%m%d.log 86400"
Listen 8081
DocumentRoot /var/www/alldocs/iit.trade-ideas.com
ServerName iit.trade-ideas.com
AddType application/x-httpd-php .html
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/access.iit.%Y%m%d.log 86400" common
ErrorLog "|/usr/sbin/rotatelogs -l /var/log/httpd/error.iit.%Y%m%d.log 86400"
Listen 8082
DocumentRoot /var/www/alldocs/optima.trade-ideas.com
ServerName optima.trade-ideas.com
AddType application/x-httpd-php .html
CustomLog "|/usr/sbin/rotatelogs -l /var/log/httpd/access.optima.%Y%m%d.log 86400" common
ErrorLog "|/usr/sbin/rotatelogs -l /var/log/httpd/error.optima.%Y%m%d.log 86400"
#
# DocumentRoot /var/www/alldocs/svcweb
# ServerName test-svcweb.trade-ideas.com
#
#
# DocumentRoot /var/www/alldocs/etrade
# ServerName test-etrade.trade-ideas.com
#
#
# DocumentRoot /var/www/alldocs/mobile
# ServerName test-mobile.trade-ideas.com
# AddType application/x-httpd-php .html
#
#
# DocumentRoot /var/www/alldocs/main
# ServerName www-test-svcweb.trade-ideas.com
# AliasMatch ^/Glossary/.*\.gif$ /var/www/alldocs/main$0
# AliasMatch ^/Glossary(/.*)? /var/www/alldocs/main/Glossary.html
# AliasMatch ^/SingleAlertType(/.*)?$ /var/www/alldocs/main/SingleAlertType.html
# AliasMatch ^(/StockInfo/_[^/]*)$ /var/www/alldocs/main$1
# AliasMatch ^/StockInfo/[^/]*$ /var/www/alldocs/main/StockInfo/Index.html
# AliasMatch ^/StockInfo/.*/ /var/www/alldocs/main/StockInfo/StockInfo.html
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://www-test-svcweb.trade-ideas.com/$2
#
#
# DocumentRoot /var/www/alldocs/LSE
# ServerName test-lse.trade-ideas.com
# AliasMatch ^/Glossary/.*\.gif$ /var/www/alldocs/lse$0
# AliasMatch ^/Glossary(/.*)? /var/www/alldocs/lse/Glossary.html
# AliasMatch ^/SingleAlertType(/.*)?$ /var/www/alldocs/lse/SingleAlertType.html
# AliasMatch ^(/StockInfo/_[^/]*)$ /var/www/alldocs/lse$1
# AliasMatch ^/StockInfo/[^/]*$ /var/www/alldocs/lse/StockInfo/Index.html
# AliasMatch ^/StockInfo/.*/ /var/www/alldocs/lse/StockInfo/StockInfo.html
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://test-lse.trade-ideas.com/$2
#
#
# DocumentRoot /var/www/alldocs/pristine
# ServerName test-pristine.trade-ideas.com
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://test-pristine.trade-ideas.com/$2
#
#
# DocumentRoot /var/www/alldocs/pristine
# ServerName test-esp1-pristine.trade-ideas.com
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://esp1.pristine.com/$2
#
#
# DocumentRoot /var/www/alldocs/pristine-test
# ServerName test-pristine.trade-ideas.com
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://test-pristine.trade-ideas.com/$2
#
#
# DocumentRoot /var/www/alldocs/teamtrading
# ServerName test-teamtrading.trade-ideas.com
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://test-teamtrading.trade-ideas.com/$2
#
#
# DocumentRoot /var/www/alldocs/vcm
# ServerName test-scanner-vcmtrading.trade-ideas.com
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://scanner.vcmtrading.com/$2
#
#
# DocumentRoot /var/www/alldocs/vcm
# ServerName test-www-vcmscannerpro.trade-ideas.com
# RedirectMatch permanent ^/Source/([^/]*)/?(.*) http://www.vcmscannerpro.com/$2
#
#
# We should never get here. The lighttpd proxy is handling
# static.trade-ideas.com itself.
# DocumentRoot /var/www/alldocs/static
# ServerName test-static.trade-ideas.com
#
#
# DocumentRoot /var/www/alldocs/proxy
# ServerName test-proxy.trade-ideas.com
#
SetHandler server-status
AuthType Basic
AuthName "Apache Stats"
AuthUserFile /var/www/passwords/secure
AuthGroupFile /var/www/passwords/groups
Require group employees
# Require ip 76.88.104.9