Hello,
I have the following setup:
haproxy load balancer which listens on port 80
apache which listens on port 79
nginx which listens on port 81
When I access www.mysite.com/wiki haproxy automatically delivers the request to
nginx.
The problem is that the mediawiki scripts rewrite my URL from
www.mysite.com/wiki/ to www.mysite.com:81/wiki/index.php?title=Main_Page
If I give the full link like so: www.mysite.com/wiki/index.php?title=Main_Page
it does work without showing up the port.
I have tried to comment out the following line in index.php:
$mediaWiki->initialize( $wgTitle, $wgArticle, $wgOut, $wgUser,
$wgRequest );
and it no longer includes the port in the URL, but it also no longer displays
content in pages.
What can I do?
_______________________________________________
MediaWiki-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l