It may be subtler and easier than I first thought: Fossil already uses the host information from the Host: header, not from its own IP. When in CGI mode, it already relocates all its absolute references to include the prefix of the cgi script location.
When running as server Fossil does not do the above relocation but keeps everyting based at root ('/'), regardless of the path in the request uri. Is there a reason that makes fossil CGI style relocation a bad idea for a fossil running in server mode? Paul ====== I just tried to put Fossil (running as server) behind a reverse proxy (home grown, but similar to "Pound"). That doesn't work very well, because Fossil prefixes all paths in its output with a full baseURL (as seen by Fossil). The client can't use that as the reverse proxy maps an entirely different prefix to the Fossil server instance. I think the html/css output by Fossil should use relative paths, not absolute paths. Next to the above, also the 301 Redirect repsonses have the wrong url, but that is as per the http RFC: it is a reasonable job for a reverse proxy to rewrite the Location: header of a 301 response. Before I attempt this rather massive patch: Richard, any remarks? Paul _______________________________________________ fossil-users mailing list fossil-users@lists.fossil-scm.org http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users