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:
Copy to clipboard
http://wikiServer/wiki1/tiki-searchindex.php http://wikiServer/wiki2/tiki-searchindex.php
The Proxy setting is:
Copy to clipboard
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
Copy to clipboard
https://companyServer/team1/tiki-searchindex.php
but search results are like
Copy to clipboard
http://wikiServer/wiki1/tiki-index.php?page=Info
In the page source, normal references look like
Copy to clipboard
<a href="tiki-searchindex.php">
but search results are like
Copy to clipboard
<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?