X-Git-Url: http://git.onelab.eu/?a=blobdiff_plain;f=web%2Fmonitorweb-httpd.conf;h=a1935ae3bd1d1ad9aab3033fe305c6e0275cf14a;hb=f4c8ac6cb9e1418ced303fd9f715e76b275af00d;hp=ee84b732f94315f0223ad4c960b70ab2104091d0;hpb=66ef9d90a94833d30502006d1fcdafd5054086eb;p=monitor.git diff --git a/web/monitorweb-httpd.conf b/web/monitorweb-httpd.conf index ee84b73..a1935ae 100644 --- a/web/monitorweb-httpd.conf +++ b/web/monitorweb-httpd.conf @@ -6,9 +6,9 @@ NameVirtualHost 128.112.139.116:80 UseCanonicalName Off ServerSignature Off - DocumentRoot /usr/share/monitor/tgweb/MonitorWeb/monitorweb + DocumentRoot /usr/share/monitor/web/MonitorWeb/monitorweb - + Options Indexes FollowSymLinks AllowOverride None Order allow,deny @@ -20,13 +20,16 @@ NameVirtualHost 128.112.139.116:80 AddDefaultCharset utf-8 - # Load everything out of the DocumentRoot that is static - ProxyPass /monitor/static ! + #NOTE: This doesn't work as expected. + # Load everything out of the DocumentRoot that is static + # ProxyPass /monitor/static ! + + ProxyPass /tg_js http://127.0.0.1:8080/tg_js + ProxyPassReverse /tg_js http://127.0.0.1:8080/tg_js + + ProxyPass /monitor http://127.0.0.1:8080 + ProxyPassReverse /monitor http://127.0.0.1:8080 - ProxyPass /monitor http://127.0.0.1:8080/ - ProxyPassReverse /monitor http://127.0.0.1:8080/ - ProxyPass /monitor/ http://127.0.0.1:8080/ - ProxyPassReverse /monitor/ http://127.0.0.1:8080/ ProxyPreserveHost On ProxyRequests Off