Hi.
I have a dokuwiki that is accessed via an Apache Reverse proxy:
ProxyRequests Off
Comment: The Proxy section below allows internet users to access the internal server
<Proxy *>
Order deny,allow
Allow from all
</Proxy>
Comment: Next Section sets up the reverse proxy
ProxyPass /my_wiki/
http://192.168.0.29/my_wiki/
ProxyHTMLURLMap
http://192.168.0.29/my_wiki/ /my_wiki/
Comment: Next section does various things to make sure addresses work cleanly both ways.
<Location /my_wiki/>
RequestHeader set Referer
http://192.168.0.29/my_wiki
ProxyPass
http://192.168.0.29/my_wiki
ProxyPassReverse
http://192.168.0.29/my_wiki
ProxyHTMLURLMap
http://192.168.0.29/my_wiki /my_wiki/
SetOutputFilter proxy-html
ProxyHTMLURLMap / /my_wiki/
ProxyHTMLURLMap /my_wiki/ /my_wiki/
</Location>
I use the fck 0.4 plugin (
http://wiki.flux-cms.org/display/FCKW/Home), but my configuration gives me some problems with links.
First, I create a new page with a link named '1', protocol 'wiki', Url 'link1' and I save the page.
The page code is:
<p><a title="link1" class="wikilink2" href="/my_wiki/link1">1</a></p>
The Wiki syntax:
[[/my_wiki/link1|1]]
I don't understand why appears "/my_wiki/".
Then, I edit this page and I add a second link, named '2', protocol 'wiki', Url 'link2' and I save the page.
The result is wrong:
<p><a title="my_wiki_link1" class="wikilink2" href="/my_wiki/my_wiki_link1">1</a></p>
<p><a title="link2" class="wikilink2" href="/my_wiki/link2">2</a></p>
Wiki syntax:
[[/my_wiki/my_wiki_link1|1]]
[[/my_wiki/link2|2]]
As you see, the namespace has changed and I don't know why.
How can I configure dokuwiki, Apache and fck to remove this problem with links?
Thank you.