Author |
|
r4a5a88
Joined: 17 Oct 2016 Posts: 5 Location: Germany
|
Posted: Mon 17 Oct '16 13:47 Post subject: Reverse Proxy problem |
|
|
Hi
I have owncloud running on a apache server in a private network behind an apache reverse proxy.
OS: Debian Jessie
PHP: 5
mysql db on owncloud server
here is the apache conf
http://www.hastebin.com/imucikoter.apache
Problem is:
Everything works exept the PDF viewer PDF.JS
I tried it without the proxy and it works so it must be the proxy.
to the outside it's https internally it's http
I am still using a self signed ssl-cert. could that be the problem? I don't know what to do.
Pls help
Thanks for the help in advance |
|
Back to top |
|
Steffen Moderator
Joined: 15 Oct 2005 Posts: 3092 Location: Hilversum, NL, EU
|
Posted: Tue 18 Oct '16 13:28 Post subject: |
|
|
I see you have mod_proxy_html enabled.
By purpose ?
In the docu at https://httpd.apache.org/docs/2.4/mod/mod_proxy_html.html
I read at ProxyHTMLExtended Directive : ..... but links appearing in Javascript and CSS are ignored.
You can try to remove ProxyHTMLEnable On and ProxyHTMLExtended On |
|
Back to top |
|
r4a5a88
Joined: 17 Oct 2016 Posts: 5 Location: Germany
|
Posted: Tue 18 Oct '16 15:12 Post subject: |
|
|
I thought it could help
thanks you for the advice
I deactivateed the mod and everything works |
|
Back to top |
|
r4a5a88
Joined: 17 Oct 2016 Posts: 5 Location: Germany
|
Posted: Wed 02 Nov '16 16:52 Post subject: |
|
|
I had to enable mod_proxy_html again for another client connected to the proxy.
Can you disable the mod for this directory ?
I have tried it wit ProxyHTMLEnable Off
The odd thing, the pdf viewer itself opens but the frame inside can't find the pdf file
my apache conf
http://www.hastebin.com/cesowuxogi.apache
the other client is in another file.
when I open the link inside the frame I get redirected to my webroot on the proxy |
|
Back to top |
|
r4a5a88
Joined: 17 Oct 2016 Posts: 5 Location: Germany
|
Posted: Wed 02 Nov '16 17:29 Post subject: |
|
|
I found the answer
I removed the line
Code: | SetOutputFilter INFLATE;proxy-html;DEFLATE |
and it worked |
|
Back to top |
|