xWiki Behind Apache Mod_Proxy. https -> http
I am using xWiki behind an apache server and using Mod proxy to proxy https requests to the tomcat server. The problem is that xWiki rewrites the urls to http://host... so they have to get bounced off the http default server host configuration that redirects them to https://host.... Therefore the posts do not work because the redirect breaks the session. How can I turn off the url rewriting in xwiki so that the urls use the relative reference not the full absolute reference? Or is there a way to tell it to rewrite urls with the https (not http) protocal? Thanks in advance for any help, Doug Culnane SNAP Consulting Systemnahe Anwendungsprogrammierung und Beratung GmbH Altmannsdorferstra?e 23A 1120 Wien, Osterreich www.snapconsult.com Firmenbuch: FN193058i Firmenbuchgericht: Handelsgericht Wien UID-Nr.: ATU48838904 DVR-Nr.: 1049933 Wichtiger Hinweis: Diese E-Mail ist fur den Gebrauch durch die Person oder die Firma/Organisation bestimmt, die in der Empfangeradresse benannt ist und unterliegt u. U. dem Berufsgeheimnis oder anderweitigen rechtlichem Schutz. Wenn Sie nicht der angegebene Empfanger sind, nehmen Sie bitte zur Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des Inhalts dieser E-Mail-Ubertragung unzulassig ist. Falls Sie diese E-Mail irrtumlich erhalten haben, benachrichtigen Sie den Absender bitte unverzuglich. Important Note: This e-mail may contain trade secrets or privileged, undisclosed or confidential information or otherwise protected by work product immunity or other legal rules. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal.
Hi Folks, I too am having the same issue that Douglas is. Has anyone come up with a solution or a workaround for this? Thanks, Dennis Rasey Douglas Culnane wrote:
I am using xWiki behind an apache server and using Mod proxy to proxy https requests to the tomcat server.
The problem is that xWiki rewrites the urls to http://host... so they have to get bounced off the http default server host configuration that redirects them to https://host.... Therefore the posts do not work because the redirect breaks the session.
How can I turn off the url rewriting in xwiki so that the urls use the relative reference not the full absolute reference? Or is there a way to tell it to rewrite urls with the https (not http) protocal?
Thanks in advance for any help,
Doug Culnane
SNAP Consulting Systemnahe Anwendungsprogrammierung und Beratung GmbH Altmannsdorferstra?e 23A 1120 Wien, Osterreich
www.snapconsult.com
Firmenbuch: FN193058i Firmenbuchgericht: Handelsgericht Wien UID-Nr.: ATU48838904 DVR-Nr.: 1049933
Wichtiger Hinweis: Diese E-Mail ist fur den Gebrauch durch die Person oder die Firma/Organisation bestimmt, die in der Empfangeradresse benannt ist und unterliegt u. U. dem Berufsgeheimnis oder anderweitigen rechtlichem Schutz. Wenn Sie nicht der angegebene Empfanger sind, nehmen Sie bitte zur Kenntnis, dass Weitergabe, Kopieren, Verteilung oder Nutzung des Inhalts dieser E-Mail-Ubertragung unzulassig ist. Falls Sie diese E-Mail irrtumlich erhalten haben, benachrichtigen Sie den Absender bitte unverzuglich.
Important Note: This e-mail may contain trade secrets or privileged, undisclosed or confidential information or otherwise protected by work product immunity or other legal rules. If you have received this e-mail in error, you are hereby notified that any review, copying or distribution of it is strictly prohibited. Please inform us immediately and destroy the original transmittal.
Hi all! I am deploying an instance of XEM with virtual hosts, for a corporate wiki farm in the company that i work for. As part of the setup, im using Apache 2 with ssl and mod_proxy on the frontend, and Jetty / MySQL / XEM over http (no encryption on this layer). I am experiencing the same kind of troubles here, where XWiki environment does not rewrite the URLs in "https" way, so the external interface is always broken. I've already spent a week trying to figure out how to make things work together, but have no success at all. My frontend server, debian based, works perfectly with many other applications in that way. I think it is really an Xwiki design issue, and i need it working. Is there something that i can do to help address this issue?? Related documents: http://jira.xwiki.org/jira/browse/XWIKI-227 http://jira.xwiki.org/jira/browse/XWIKI-2502 http://n2.nabble.com/Apache-in-front-of-Xwiki-issue-td509190.html http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_apache.html http://dev.xwiki.org/xwiki/bin/view/Community/Forum http://lenya.apache.org/docu12x/components/deployment/proxying.html Any help would be appreciated. Thank you guys! Sincerely, Auro -- View this message in context: http://n2.nabble.com/xWiki-Behind-Apache-Mod_Proxy.-https--%3E-http-tp505868... Sent from the XWiki- Users mailing list archive at Nabble.com.
Hi, I had the same problem, but was not able to get it to work. We switched to jetty to provide https access to our xwiki. HTH, Stefan
-----Original Message----- From: Auro Florentino [mailto:[email protected]] Sent: Dienstag, 12. August 2008 19:50 To: [email protected] Subject: Re: [xwiki-users] xWiki Behind Apache Mod_Proxy. https -> http
Hi all!
I am deploying an instance of XEM with virtual hosts, for a corporate wiki farm in the company that i work for.
As part of the setup, im using Apache 2 with ssl and mod_proxy on the frontend, and Jetty / MySQL / XEM over http (no encryption on this layer).
I am experiencing the same kind of troubles here, where XWiki environment does not rewrite the URLs in "https" way, so the external interface is always broken.
I've already spent a week trying to figure out how to make things work together, but have no success at all.
My frontend server, debian based, works perfectly with many other applications in that way. I think it is really an Xwiki design issue, and i need it working.
Is there something that i can do to help address this issue??
Related documents: http://jira.xwiki.org/jira/browse/XWIKI-227 http://jira.xwiki.org/jira/browse/XWIKI-2502 http://n2.nabble.com/Apache-in-front-of-Xwiki-issue-td509190.html http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_apache.html http://dev.xwiki.org/xwiki/bin/view/Community/Forum http://lenya.apache.org/docu12x/components/deployment/proxying.html
Any help would be appreciated.
Thank you guys!
Sincerely,
Auro -- View this message in context: http://n2.nabble.com/xWiki-Behind-Apache- Mod_Proxy.-https--%3E-http-tp505868p720158.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
Hi Stefan! Our Jetty instance is now configured to work with ssl. The real implementation problem here is that now we have two ssl layers, that increases cpu usage and loading times. BTW, now our XEM install is working for multiple wikis/vhosts. Thanks in advance Stefan. Regards, Auro Stefan Völkel-2 wrote:
Hi,
I had the same problem, but was not able to get it to work. We switched to jetty to provide https access to our xwiki.
HTH,
Stefan
-----Original Message----- From: Auro Florentino [mailto:[email protected]] Sent: Dienstag, 12. August 2008 19:50 To: [email protected] Subject: Re: [xwiki-users] xWiki Behind Apache Mod_Proxy. https -> http
Hi all!
I am deploying an instance of XEM with virtual hosts, for a corporate wiki farm in the company that i work for.
As part of the setup, im using Apache 2 with ssl and mod_proxy on the frontend, and Jetty / MySQL / XEM over http (no encryption on this layer).
I am experiencing the same kind of troubles here, where XWiki environment does not rewrite the URLs in "https" way, so the external interface is always broken.
I've already spent a week trying to figure out how to make things work together, but have no success at all.
My frontend server, debian based, works perfectly with many other applications in that way. I think it is really an Xwiki design issue, and i need it working.
Is there something that i can do to help address this issue??
Related documents: http://jira.xwiki.org/jira/browse/XWIKI-227 http://jira.xwiki.org/jira/browse/XWIKI-2502 http://n2.nabble.com/Apache-in-front-of-Xwiki-issue-td509190.html http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_apache.html http://dev.xwiki.org/xwiki/bin/view/Community/Forum http://lenya.apache.org/docu12x/components/deployment/proxying.html
Any help would be appreciated.
Thank you guys!
Sincerely,
Auro -- View this message in context: http://n2.nabble.com/xWiki-Behind-Apache- Mod_Proxy.-https--%3E-http-tp505868p720158.html Sent from the XWiki- Users mailing list archive at Nabble.com.
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
_______________________________________________ users mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/users
-- View this message in context: http://n2.nabble.com/xWiki-Behind-Apache-Mod_Proxy.-https--%3E-http-tp505868... Sent from the XWiki- Users mailing list archive at Nabble.com.
On Aug 12, 2008, at 7:50 PM, Auro Florentino wrote:
Hi all!
I am deploying an instance of XEM with virtual hosts, for a corporate wiki farm in the company that i work for.
As part of the setup, im using Apache 2 with ssl and mod_proxy on the frontend, and Jetty / MySQL / XEM over http (no encryption on this layer).
I am experiencing the same kind of troubles here, where XWiki environment does not rewrite the URLs in "https" way, so the external interface is always broken.
I've already spent a week trying to figure out how to make things work together, but have no success at all.
My frontend server, debian based, works perfectly with many other applications in that way. I think it is really an Xwiki design issue, and i need it working.
Is there something that i can do to help address this issue??
Yes. I can think of some ways you could help: 1) tell us what we should do to make it work 2) provide a patch 3) comment in the issues What version of XE are you using? Thanks -Vincent
Related documents: http://jira.xwiki.org/jira/browse/XWIKI-227 http://jira.xwiki.org/jira/browse/XWIKI-2502 http://n2.nabble.com/Apache-in-front-of-Xwiki-issue-td509190.html http://jetty.mortbay.org/jetty5/faq/faq_s_200-General_t_apache.html http://dev.xwiki.org/xwiki/bin/view/Community/Forum http://lenya.apache.org/docu12x/components/deployment/proxying.html
Any help would be appreciated.
Thank you guys!
Sincerely,
Auro
participants (5)
-
Auro Florentino -
Dennis Rasey -
Douglas Culnane -
Stefan Völkel -
Vincent Massol