I have set up a reverse proxy in Apache for the purpose of redirecting traffic to my internal sharepoint server, amongst other things. The problem I am running into is, if I create a reference to a yet uncreated wiki page [[testLink]] then click the link, it returns a hard address to the internal server name, and thus, when outside the local network, doesn't work.
Is there any way to fix this? I am baffled, I don't even know where to start looking for logs on this matter.
Any help would be appreciated :) Thanks!
Edit: I should note I suppose that this is the only part that doesn't seem to work correctly.
Edit2: Here is the code for the virtualhost;
<VirtualHost *:80> ServerName sharepoint.mydomain.com ProxyPass / http://sharepointserver.mydomain.com/ ProxyPassReverse / http://sharepointserver.mydomain.com/ </VirtualHost>