hope I got the merge wright...
[monitor.git] / web / monitorweb-httpd.conf
1 # NOTE: I've tried other means of redirection, including mod_rewrite, but did
2 #       not have any success.  The means below is not idea, b/c it does not keep
3 #       non-ssl session as non-ssl.  But it works.
4
5 # NOTE: redirect path without trailing '/' to path with. 
6 Redirect /monitor /monitor/
7
8 # NOTE: this directive strips '/monitor/' from the requested path and pastes
9 #       the remaining part to the end of the ProxyPass url below.  All TG urls
10 #       should be relative to their current position, or the absolute path
11 #       that includes /monitor/ at the beginning.  
12 # TODO: make location configurable.
13 <Location '/monitor/'>
14     #LogLevel debug
15     #Errorlog /var/log/httpd/monitorwebapp-error_log
16     #Customlog /var/log/httpd/monitorwebapp-access_log common
17
18     ProxyPass http://127.0.0.1:8082/
19     ProxyPassReverse http://127.0.0.1:8082/
20 </Location>