|Re: [epf-dev] Webapp Search|
We achieved a sort of workaround in the end. I amended the server.xml file within Tomcat with
<Connector port="8080" protocol="HTTP/1.1"
where only the last two items are new. The relevant lines in the httpd.conf were changed to
I also changed the name of the .WAR file itself to "webapp.war". The combination of these steps means that the webapp is accessible via http://host/webapp, and the search works properly. It's not pretty but it works! The only problem really with this is that with the above configuration it is no longer possible to use http://localhost to view the app directly.
I agree there is probably some subtlety to how the search code forms URLs that would fix this issue more fully. I'm afraid I'm not sure what it is though!
I should also point out that our httpd.conf also deals with static wikis using a similar virtual host setup to the one you attached. The ProxyPass pertaining to the webapp was appended to the file.
Hope you make some progress, and of course I'll update the community if we come up with a better solution in the future.
From: epf-dev-bounces@xxxxxxxxxxx [mailto:epf-dev-bounces@xxxxxxxxxxx] On Behalf Of Bugra Uytun
Sent: 01 June 2011 20:25
Subject: Re: [epf-dev] Webapp Search
yes, I have been experiencing the same problem and couldn't found a solution up to now... I have been told that the issue lies on the reverse proxy, but I'm still convinced that the issue actually lies in the EPF search code rather than on Apache configuration.
below are my configuration:
CustomLog logs/host_access_log custom
ProxyPass / http://localhost:8080/host/
ProxyPassReverse / http://host.com/
if you should be able to find a solution I would appreciate any help.
On 01.06.2011 10:28, Austin, Matthew wrote:
Please consider the environment before printing this email. This message should be regarded as confidential. If you have received this email in error please notify the sender and destroy it immediately. Statements of intent shall only become binding when confirmed in hard copy by an authorised signatory. The contents of this email may relate to dealings with other companies under the control of Detica Limited, details of which can be found at http://www.detica.com/statutory-information. Detica Limited is registered in England under No: 1337451. Registered offices: Surrey Research Park, Guildford, Surrey, GU2 7YP, England.