Sebastian Brinkmann wrote:
You are right. Ok, actually I have to following
changes in the
LocalSettings.php
$wgServer = "https://ssl-proxy/server-domainl";
$wgArticlePath = "
https://ssl-proxy/server-domain/mediawiki/index.php?title=$1"quot;;
$wgStylePath = "https://ssl-proxy/server-domain/mediawiki/skins";
Ok, what you probably want is something like:
$wgServer = "https://ssl-proxy";
$wgScriptPath = "/server-domain/mediawiki";
Note: $wgServer contains the protocol and hostname to be used in
constructing of fully-qualified URLs. These are used on redirects and
output of full URLs in various other places that require it (print
footer, RSS feeds, etc).
Note: $wgScriptPath contains the base URL _path_ component, not
including the protocol or server. The other various paths are based from
this using the default configuration file, though you can override them
if you move files from their default locations.
Now leave the defaults for the settings that base themselves on the
given $wgScriptPath:
$wgScript = "$wgScriptPath/index.php";
$wgRedirectScript = "$wgScriptPath/redirect.php";
## If using PHP as a CGI module, use the ugly URLs
# $wgArticlePath = "$wgScript/$1";
$wgArticlePath = "$wgScript?title=$1";
$wgStylePath = "$wgScriptPath/skins";
$wgStyleDirectory = "$IP/skins";
$wgLogo = "$wgStylePath/common/images/wiki.png";
$wgUploadPath = "$wgScriptPath/images";
$wgUploadDirectory = "$IP/images";
Since you told me, I changed the Object-Table after
each reload of the
LocalSettings.php and this make is easier, because the changes can be
checked immediatly. The site is now display with the right Stylesheet and
the links to all the articles are working.
Great!
My problem are:
1. The EDIT Button on top of the mainpage shows a wrong link to
https://ssl-proxy/mediawiki/index.php, so the Server-Domain is missing. Same
problem with the discussion button and version. And the same link problem in
the left navigation bar for the tools menu.
This is caused by the bogus $wgScriptPath and hence $wgScript. It needs
to be the complete URL path (relative to the server) that the client
will see.
2. The article-links on the mainpage are working
correctly, BUT the links on
the other pages have the same url-error as explained in 1.
I just tried to add the missing "server-domain" into $wgScriptPath, this has
effect to the wrong urls, but don't solve the problem: then I have there
https://ssl-proxy/server-domain/mediawiki/server-domain/mediawiki/index.php…edit.
A result, that I not really understand. :-(
Looks like a combination of paths from two places; you want to avoid
that. :)
-- brion vibber (brion @
pobox.com)