Apache ProxyPass for BOSH url
See original GitHub issueHello,
I apoligize in advance as I see there are many issues already posted with my same content.
I have followed your post regard proper apache setup to remove the port from the BOSH URL. Though it appears to take a bit longer before displaying the error, the same error still shows:
BOSH server NOT reachable or misconfigured.
Cross domain request was not possible. Either your BOSH server does not send any Access-Control-Allow-Origin header or the content-security-policy (CSP) blocks your request. Starting from Owncloud 9.0 your CSP will be updated in any app which uses the appframework (e.g. files) after you save these settings and reload.The savest way is still to use Apache ProxyRequest or Nginx proxy_pass.
Reading thru your other posts, this my CORS headers are messed up. Below is my virtual host configuration with headers to try to mitigate the CORS issues. I am hoping that you could help point me in the right direction!
`VirtualHost *:80 ServerAdmin webmaster@localhost ServerName im.greysky.me ProxyRequests off
ProxyPass /http-bind/ http://localhost:5280/http-bind/ ProxyPassReverse /http_bind/ http://localhost:5280/http-bind/
<Location /http-bind> Order allow,deny Allow from all </Location> Header always set Access-Control-Allow-Origin: “*” Header always set Access-Control-Max-Age “1000” Header always set Access-Control-Allow-Headers “X-Requested-With, Content-Type, Origin, Authorization, Accept, Client-Security-Token, Accept-Encoding” Header always set Access-Control-Allow-Methods “POST, GET, OPTIONS, DELETE, PUT” /VirtualHost`
Thank you!
Issue Analytics
- State:
- Created 7 years ago
- Comments:10 (5 by maintainers)
Top GitHub Comments
@sualko @skyfox675 thanks.
https://github.com/jsxc/jsxc/wiki/Using-JSXC-on-Windows-with-IIS
Looks awesome. Thanks a lot!