Page MenuHomePhabricator

the picture are not locate on the same server where all the php are uploaded
Closed, InvalidPublic

Description

Author: MichaelMellinger

Description:
i want upload my picture on this server www.1und1.com for storage.
but my wiki is locate on this free hoster: crazy-hosting.de

in wich php (localsettings.php per example) have i to change the settings?


Version: unspecified
Severity: normal
OS: Windows XP
Platform: PC
URL: http://andrologie.crazy-hosting.de/andro/index.php/Hauptseite

Details

Reference
bz3416

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 8:49 PM
bzimport set Reference to bz3416.
bzimport added a subscriber: Unknown Object (MLST).

(Not a bug, resolving INVALID.)

Set $wgUploadPath to include a full URL with hostname to use a different
hostname for images. Note that this still requires local filesystem access.

MichaelMellinger wrote:

if i do this the wiki-software will create the following url:
andrologie.crazy-hosting.de/andro/images/www.1und1.com/a/a1
it doesent match.

You can also set $wgAllowExternalImages = true;
and use the full url of the images to link to them. You cannot upload images to
the other domain via mediawiki then, though, you would have to do it via FTP or
some such. Also, this would allow users to include images from *anywhere*.