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

Last change on this file since 25294 was 25294, checked in by Paul Leo, 2 months ago

Tweaks to apache httpd configurations, commented out the test server on port 81, set an errorlog, for startup that will roll over daily

File size: 3.5 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 hhdw.org
26    ServerAlias hhdw.org
27    ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/80error.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### Port 81 beginning test of vanilla wordpress for ssl testing
68###      NOW ON NEW INSTANCE OF Apache
69###
70###<VirtualHost *:81>
71###    ServerAdmin kbenson@hhdw.org
72###    DocumentRoot "c:/hhdwtest"
73###    ServerName 10.0.1.108:81
74###    #ServerAlias hhdw.org
75###    ErrorLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/81error.log 86400"
76###    CustomLog "|bin/rotatelogs.exe -l -f -v -n 14 logs/81access.log 86400" common
77###     
78###     <Directory "c:/hhdwtest">
79###             Options FollowSymLinks
80###             AllowOverride All
81###             Require all granted
82###     </Directory>
83###     #### Location of PhpMyAdmin Must be on localhost to run, but don't think we are using
84###     ####
85###     <Directory "c:/hhdwtest/tools">
86###             Options Indexes FollowSymLinks
87###             Require local
88###     </Directory>
89###     
90###     #
91###     # DirectoryIndex: sets the file that Apache will serve if a directory is requested.
92###     #
93###     <IfModule dir_module>
94###             DirectoryIndex index.html index.php
95###     </IfModule>
96###     
97###     <Files ".ht*">
98###             Require all denied
99###     </Files>
100###     
101###     ############### IBIS Proxy, SAME AS ABOVE FOR NOW located webapps/report #####################
102###
103###
104###     #Next line is more for forward, but it doesnot affect reverse
105###     ProxyRequests Off 
106###     ProxyPreserveHost On
107###     
108###     ProxyPass         "/report/" "http://127.0.0.1:8080/report/"
109###     ProxyPassReverse  "/report/" "http://127.0.0.1:8080/report/"
110###     ###ProxyPassReverseCookiePath "/hhdw-view" "/report"   
111###     
112###</VirtualHost>
113
114
115
Note: See TracBrowser for help on using the repository browser.