Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Reverse proxy #24

Open
Swiftnesses opened this issue Jan 25, 2016 · 9 comments
Open

Reverse proxy #24

Swiftnesses opened this issue Jan 25, 2016 · 9 comments

Comments

@Swiftnesses
Copy link

I cannot seem to get reverse proxy working with this, albeit I have it working with the original interface?

I currently have:

ProxyPass /webapps/utorrent/gui/ http://****:****@localhost:9003/gui/
ProxyPassReverse /webapps/utorrent/gui/ http://u:p@localhost:9003/gui/
<Location /webapps/utorrent/gui/>
AuthName "Restricted Area"
AuthType Basic
AuthUserFile ../../htpasswd/www/.htpasswd
deny from all
allow from 192.168.1
Require valid-user
satisfy any

@rpluto
Copy link

rpluto commented Jan 25, 2016

Hi

I use this proxy conf

ProxyPass /gui http://192.168.25.6:9090/gui
ProxyPassReverse /gui http://192.168.25.6:9090/gui

ProxyPass /gui/ http://192.168.25.6:9090/gui/
ProxyPassReverse /gui/ http://192.168.25.6:9090/gui/

ProxyPass /utorrent/ http://192.168.25.6:9090/gui/
ProxyPassReverse /utorrent/ http://192.168.25.6:9090/gui/

Dont know why i need this

ProxyPass /gui/ http://192.168.25.6:9090/gui/
ProxyPassReverse /gui/ http://192.168.25.6:9090/gui/

But is working :p

On Mon, Jan 25, 2016 at 9:12 AM, markaswift [email protected]
wrote:

I cannot seem to get reverse proxy working with this, albeit I have it
working with the original interface?

I currently have:

ProxyPass /webapps/utorrent/gui/ http://_:_@localhost
https://github.com/localhost:9003/gui/
ProxyPassReverse /webapps/utorrent/gui/ http://u:p@localhost:9003/gui/

AuthName "Restricted Area"
AuthType Basic
AuthUserFile //htpasswd/www/htpasswd
deny from all
allow from 1921681
Require valid-user
satisfy any


Reply to this email directly or view it on GitHub
#24.

Melhores cumprimentos,
Rafael Silva

@Swiftnesses
Copy link
Author

Can you paste in your entire section, still not working for me :-(

This is the best I can get, but your web ui says: "Service unavailable"

ProxyPass /webapps/utorrent/gui http://_:@localhost:9003/gui
ProxyPassReverse /webapps/utorrent/gui/ http://**
:**_@localhost:9003/gui

<Location /webapps/utorrent/gui/>
AuthName "Restricted Area"
AuthType Basic
AuthUserFile ../../htpasswd/www/.htpasswd
deny from all
allow from 192.168.1
Require valid-user
satisfy any

@rpluto
Copy link

rpluto commented Jan 25, 2016

i only put those lines in /etc/apache2/mods-enabled/proxy.conf

On Mon, Jan 25, 2016 at 10:07 AM, markaswift [email protected]
wrote:

Can you paste in your entire section, still not working for me :-(

This is the best I can get, but your web ui says: "Service unavailable"

ProxyPass /webapps/utorrent/gui http://:@localhost
https://github.com/localhost:9003/gui
ProxyPassReverse /webapps/utorrent/gui/ http://:@localhost
https://github.com/localhost:9003/gui

AuthName "Restricted Area"
AuthType Basic
AuthUserFile ../../htpasswd/www/.htpasswd
deny from all
allow from 192.168.1
Require valid-user
satisfy any


Reply to this email directly or view it on GitHub
#24 (comment)
.

Melhores cumprimentos,
Rafael Silva

@Swiftnesses
Copy link
Author

Okay, it appears the issue is:

Failed to load resource: (https://www.mydomian.co.uk/gui/token.html?t=1453714961251) the server responded with a status of 404 (Not Found)

I wonder why it's looking there, the rest of the UI loads without issue!

@rpluto
Copy link

rpluto commented Jan 25, 2016

Thats why i put also the ui folder under root

On Mon, Jan 25, 2016 at 10:44 AM, markaswift [email protected]
wrote:

Okay, it appears the issue is:

Failed to load resource: (
https://www.mydomian.co.uk/gui/token.html?t=1453714961251) the server
responded with a status of 404 (Not Found)

I wonder why it's looking there, the rest of the UI loads without issue!


Reply to this email directly or view it on GitHub
#24 (comment)
.

Melhores cumprimentos,
Rafael Silva

@Swiftnesses
Copy link
Author

All my apps are at domain.co.uk/webapps/ http://domain.co.uk/webapps/

I guess this means I’ll stick with the original web ui for now :-(

On 25 Jan 2016, at 09:57, Rafael Silva [email protected] wrote:

Thats why i put also the ui folder under root

On Mon, Jan 25, 2016 at 10:44 AM, markaswift [email protected]
wrote:

Okay, it appears the issue is:

Failed to load resource: (
https://www.mydomian.co.uk/gui/token.html?t=1453714961251) the server
responded with a status of 404 (Not Found)

I wonder why it's looking there, the rest of the UI loads without issue!


Reply to this email directly or view it on GitHub
#24 (comment)
.

Melhores cumprimentos,
Rafael Silva

Reply to this email directly or view it on GitHub #24 (comment).

@rpluto
Copy link

rpluto commented Jan 25, 2016

Maybe psychowood have a solution for that
down know.

On Mon, Jan 25, 2016 at 11:08 AM, markaswift [email protected]
wrote:

All my apps are at domain.co.uk/webapps/ http://domain.co.uk/webapps/

I guess this means I’ll stick with the original web ui for now :-(

On 25 Jan 2016, at 09:57, Rafael Silva [email protected] wrote:

Thats why i put also the ui folder under root

On Mon, Jan 25, 2016 at 10:44 AM, markaswift [email protected]
wrote:

Okay, it appears the issue is:

Failed to load resource: (
https://www.mydomian.co.uk/gui/token.html?t=1453714961251) the server
responded with a status of 404 (Not Found)

I wonder why it's looking there, the rest of the UI loads without
issue!


Reply to this email directly or view it on GitHub
<
#24 (comment)

.

Melhores cumprimentos,
Rafael Silva

Reply to this email directly or view it on GitHub <
#24 (comment)
.


Reply to this email directly or view it on GitHub
#24 (comment)
.

Melhores cumprimentos,
Rafael Silva

@psychowood
Copy link
Owner

Can you reach the original webui @ /gui/classic/index.html ?

@psychowood
Copy link
Owner

Any news?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants