Closed gdusbabek closed 8 years ago
I'm not so sure about this one... iirc you can setup a proxy in apache that rewrites the urls, which is probably a better place to do this. ex- /dreadnot/blah/blarg -> /blah/blarg
This is actually kind of an interesting feature. We haven't seen demand for it, and the code has bitrust a bit. After 1.5 years, I'm going to close.
@gdusbabek, I don't imagine you care much about this outcome, but if you're bored and want to rebase this branch, I'd be happy to open&&merge. :smile:
Most changes involve adjusting absolute URLs to include a prepend. The prepend is currently defined as whatever is after the host:port in config.default_url.
This allows DN to run localhost:someport but fixes urls so that they point to somewhere else (going through the proxy), as what may happen if you're using Apache to proxy from an apache instance running other websites to a dreadnot or multiple dreadnots as the case may be.
I didn't bother with the dn2 2.0 API stuff since it doesn't look to be going anywhere quickly.