P2PoolExtendedFrontEnd icon indicating copy to clipboard operation
P2PoolExtendedFrontEnd copied to clipboard

Custom Base URL

Open jangrewe opened this issue 11 years ago • 3 comments

Hi, i'm using Apache's mod_proxy to map p2pool's port to a URL on my webserver, so that i don't have to open the port to the outside:

ProxyPass /p2pool/ http://localhost:9332/ ProxyPassReverse / /p2pool/

Unfortunately your JS uses the hardcode url '/web/', can you add a config variable to let the user define his base URL, e.g. '/p2pool/web/'?

If you're willing to merge it, i could create a pull request.

jangrewe avatar Sep 25 '13 09:09 jangrewe

nevermind, i discovereved ncstdc's fork which implements relative paths!

jangrewe avatar Sep 25 '13 11:09 jangrewe

i will implement but i dont have acces to a running p2pool for working :/

hardcpp avatar Sep 25 '13 11:09 hardcpp

great, thanks! you're probably best of by merging ncstdc's fork back into yours, it looks like he's done quite a bit.

btw: thanks for starting this redesign, much easier on the eyes ;-)

jangrewe avatar Sep 25 '13 11:09 jangrewe