Search results unusable when running behind a proxy
Our wikis (12.4) are running behind an apache proxy server. When accessing the system through the proxy, everything works fine, except the search box. All search results have internal addresses, which are of course not available from outside.
Internal access is like:
http://wikiServer/wiki1/tiki-searchindex.php http://wikiServer/wiki2/tiki-searchindex.php
The Proxy setting is:
ProxyPass /team1 http://wikiServer/wiki1 ProxyPassReverse /team1 http://wikiServer/wiki1
When viewing through the proxy, URLs shown in the browser are for normal content like
https://companyServer/team1/tiki-searchindex.php
but search results are like
http://wikiServer/wiki1/tiki-index.php?page=Info
In the page source, normal references look like
<a href="tiki-searchindex.php">
but search results are like
<a href=" http://wikiServer/wiki1/tiki-index.php?page=Info" … >
Can I change my wiki configuration so that URLs in search results appear in the standard form or are proxy changes needed to solve the issue?