DanjaTemp
From n² wiki
Long story, but basically I want:
1. all URIs under http://dannyayers.com on port 80 proxied to same URI on port 8080
2. *except* for the following (transparent ideally) redirects:
http://dannyayers.com/.rss going to http://hyperdata.org/blog/feed/
http://dannyayers.com/feed/rdf/ going to http://hyperdata.org/blog/feed/
I've got 1. working with mod_proxy (see http://pastebin.com/m401f5114 ), but couldn't for the life of me get 2. ok
I'd also like to get root (index.html?) of http://dannyayers.com going to http://hyperdata.org/blog but that's less crucial.
PS.
iand helped and got 2. working and 1. almost working
current version of config file is at : http://pastebin.com/m6df32c42
main problem seems to be to do with preserving hostname (which knobot on port 8080 cares about)
I suspect using http://httpd.apache.org/docs/2.2/mod/mod_proxy.html#proxypassmatch might be one way, but I'm crap at regexes...
Help appreciated!!
(please paste suggestions here or mail me: danny.ayers@gmail.com and/or leave note with phenny on #talis)

