erming / shout

Deprecated. See fork @ https://github.com/thelounge
MIT License
3.63k stars 273 forks source link

Not working when being proxied by Apache #661

Closed PaulNokel closed 8 years ago

PaulNokel commented 8 years ago

Hi,

the app is not working when an existing Apache is configured to proxy all request to it:

ProxyPreserveHost On ProxyPass /shout http://0.0.0.0:8085 ProxyPassReverse /shout http://0.0.0.0:8085

It then tries to load resources from the domains root like that: https://domain.tld/css/bootstrap.css

That does not work because the required resource residents under: https://domain.tld/shout/css/bootstrap.css

A possible solution would be adding the base URL to the configuration or startup parameters and add this URL to all require statements.

AlMcKinlay commented 8 years ago

This is an issue that has been fixed by https://github.com/thelounge/lounge if this is a requirement for you. Feel free to come check us out, development on shout has basically stopped.