ProxyPass / http://192.168.0.53/mantisbt/...
ProxyPassReverse / http://192.168.0.53/mantisbt/
If in my browser I insert http://192.168.0.53/mantisbt/ I see the
right page, if I insert asd.mysite.it my url is translated in https://asd.mysite.it/mantisbt/login_page.php and I have the error:
The requested URL /mantisbt/mantisbt/login_page.php was not found on
this server.
I can't understand why the mantisbt folder is repeated twice. Where am
I wrong?
In comp.infosystems.www.servers.unix, <gianmarco.gallo@gmail.com> wrote:
ProxyPass / http://192.168.0.53/mantisbt/...
ProxyPassReverse / http://192.168.0.53/mantisbt/
If in my browser I insert http://192.168.0.53/mantisbt/ I see the
right page, if I insert asd.mysite.it my url is translated in https://asd.mysite.it/mantisbt/login_page.php and I have the error:
The requested URL /mantisbt/mantisbt/login_page.php was not found on
this server.
I can't understand why the mantisbt folder is repeated twice. Where am
I wrong?
I think you either want to put https://asd.mysite.it/login_page.php into
your browser, or change the proxy config:
ProxyPass /mantisbt/ http://192.168.0.53/mantisbt/
ProxyPassReverse /mantisbt/ http://192.168.0.53/mantisbt/
But this comes from not being overly familiar with Apache as a reverse
proxy, so I'm not certain.
Elijah
------
has used nginx for reverse proxying
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 296 |
Nodes: | 16 (2 / 14) |
Uptime: | 61:34:12 |
Calls: | 6,654 |
Files: | 12,200 |
Messages: | 5,331,534 |