Permalink
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (30 sloc) 1.65 KB
# works on andestutor.org with httpd-2.2.3-11.el5_1.3
# gideon.eas.asu.edu with httpd-2.2.3-31.el5.centos.2.i386
<Location /help>
# using:
ProxyPass http://localhost:8080/help
ProxyPassReverse http://localhost:8080/help
# another version (was in this file)
# ProxyPath http://localhost:8080/help
# ReverseProxyPath http://localhost:8080/help
#
ErrorDocument 502 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 502, \"message\": \"Andes help server: proxy error\"}, \"id\": null}"
ErrorDocument 503 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 503, \"message\": \"Andes help server: Service Temporarily Unavailable\"}, \"id\": null}"
</Location>
<Location /get-score>
ProxyPass http://localhost:8080/get-score
ProxyPassReverse http://localhost:8080/get-score
ErrorDocument 502 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 502, \"message\": \"Andes help server: proxy error\"}, \"id\": null}"
ErrorDocument 503 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 503, \"message\": \"Andes help server: Service Temporarily Unavailable\"}, \"id\": null}"
setenv proxy-initial-not-pooled 1
</Location>
<Location /dashboard>
ProxyPass http://localhost:8080/dashboard
ProxyPassReverse http://localhost:8080/dashboard
ErrorDocument 502 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 502, \"message\": \"Andes dashboard server: proxy error\"}, \"id\": null}"
ErrorDocument 503 "{\"jsonrpc\": \"2.0\", \"error\": {\"code\": 503, \"message\": \"Andes dashboard server: Service Temporarily Unavailable\"}, \"id\": null}"
</Location>
# Allow web-UI/.htaccess to work
<Location /web-UI>
AllowOverride FileInfo
</Location>