From: Hugh G. <hug...@gm...> - 2011-12-20 02:45:15
|
Hey All, I'm using VirtualHosts to serve subdomains under Apache HTTP Server. I would like to map eXist, currently being served by Tomcat, to a dedicated subdomain, without specifying the port or context paths. So instead of http://mywebsite.com:8080/exist/ I can just go to http://exist.mywebsite.com/ I was able to get close to what I wanted using [this configuration](http://exist.sourceforge.net/production_web_proxying.html#d1956e342) removing the `/db/mywebsite.com/` parts, but when I try to log in to the admin panel I get (in raw HTML): `<html><head><title>XQueryServlet Error</title><link rel="stylesheet" type="text/css" href="error.css"></link></head><body><h1>Error found</h1> <div class='message'><b>Message: </b>Cannot read source file</div><div class='description'>/usr/share/tomcat7/webapps/exist/exist/admin/admin.xql</div></body></html>` …which seems to suggest the base exist/ context path is hardcoded somewhere. Is there a solution to this? I tried `mod_proxy_html` following [this tutorial](http://dltj.org/article/apache-httpd-and-tomcat/) but only got server errors. Would `mod_proxy_xml` do the trick? Or is there another, preferred method? Thanks! -Hugh |