Loading...
 
Architecture / Installation

Architecture / Installation


Search results unusable when running behind a proxy

posts: 25 Germany

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?

posts: 25 Germany

It is no search specific problem. I tried several variants of links:

Copy to clipboard
((Info)) [tiki-index.php?page=Info]


work fine. However this version is not translated

Copy to clipboard
[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?

posts: 25 Germany

In the meantime, I found a workaround in order to hand over the results :

Eabling "MySQL Full-Text Search" in the the search configuration seems to solve the problem.

I don't know why changing the query methods generates different output formats, but it works!


Upcoming Events

1)  18 Apr 2024 14:00 GMT-0000
Tiki Roundtable Meeting
2)  16 May 2024 14:00 GMT-0000
Tiki Roundtable Meeting
3)  20 Jun 2024 14:00 GMT-0000
Tiki Roundtable Meeting
4)  18 Jul 2024 14:00 GMT-0000
Tiki Roundtable Meeting
5)  15 Aug 2024 14:00 GMT-0000
Tiki Roundtable Meeting
6)  19 Sep 2024 14:00 GMT-0000
Tiki Roundtable Meeting
7) 
Tiki birthday
8)  17 Oct 2024 14:00 GMT-0000
Tiki Roundtable Meeting
9)  21 Nov 2024 14:00 GMT-0000
Tiki Roundtable Meeting
10)  19 Dec 2024 14:00 GMT-0000
Tiki Roundtable Meeting