source: main/adopters/hi/trunk/src/main/apache_httpd_configs/wordpress_ibis/prod/extra/httpd-vhosts.conf @ 25075

Last change on this file since 25075 was 25075, checked in by Paul Leo, 4 months ago

Migrated settings for *80 to http-vhosts. Part of preparation for running 2 WordPress? Instances on this PROD server

File size: 2.3 KB
Line 
1# Virtual Hosts
2#
3# Required modules: mod_log_config
4
5# If you want to maintain multiple domains/hostnames on your
6# machine you can setup VirtualHost containers for them. Most configurations
7# use only name-based virtual hosts so the server doesn't need to worry about
8# IP addresses. This is indicated by the asterisks in the directives below.
9#
10# Please see the documentation at
11# <URL:http://httpd.apache.org/docs/2.4/vhosts/>
12# for further details before you try to setup virtual hosts.
13#
14# You may use the command line option '-S' to verify your virtual host
15# configuration.
16#
17# VirtualHost
18# Almost any Apache directive may go into a VirtualHost container.
19# The first VirtualHost section is used for all requests that do not
20# match a ServerName or ServerAlias in any <VirtualHost> block.
21#
22<VirtualHost *:80>
23    ServerAdmin kbenson@hhdw.org
24    DocumentRoot "c:/hhdw"
25    ServerName 10.0.1.108:80
26    ServerAlias hhdw.org
27    ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/error.log 86400"
28    CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/access.log 86400" common
29       
30        <Directory "c:/hhdw">
31                Options FollowSymLinks
32                AllowOverride All
33                Require all granted
34        </Directory>
35       
36        #### Location of PhpMyAdmin Must be on localhost to run, but don't think we are using
37        ####
38        <Directory "c:/hhdw/tools">
39                Options Indexes FollowSymLinks
40                Require local
41        </Directory>
42       
43        #
44        # DirectoryIndex: sets the file that Apache will serve if a directory is requested.
45        #
46        <IfModule dir_module>
47                DirectoryIndex index.html index.php
48        </IfModule>
49       
50        <Files ".ht*">
51                Require all denied
52        </Files>
53       
54        ############### IBIS Proxy, located webapps/report #####################
55
56
57        #Next line is more for forward, but it doesnot affect reverse
58        ProxyRequests Off 
59        ProxyPreserveHost On
60       
61        ProxyPass         "/report/" "http://127.0.0.1:8080/report/"
62        ProxyPassReverse  "/report/" "http://127.0.0.1:8080/report/"
63        ###ProxyPassReverseCookiePath "/hhdw-view" "/report"
64       
65</VirtualHost>
66#
67#<VirtualHost *:80>
68#    ServerAdmin webmaster@dummy-host2.example.com
69#    DocumentRoot "${SRVROOT}/docs/dummy-host2.example.com"
70#    ServerName dummy-host2.example.com
71#    ErrorLog "logs/dummy-host2.example.com-error.log"
72#    CustomLog "logs/dummy-host2.example.com-access.log" common
73#</VirtualHost>
74
75
76
Note: See TracBrowser for help on using the repository browser.