Hi list users,
I have been through many manuals without finding something useful.
I have a common code base and a couple of sites.
Uploads should be outside the web root. To keep it organized and to save
space on the servers drive.
URL's should not reflect the actual path to the upload directory.
I have tried something like
$wgUploadDirectory = "/home/someuser/mediawiki/files";
$wgUploadPath = "{IP}/img";
I /can/ upload e.g. an image. I can see it in the list and I can find it
in the automatically generated subdirectory. But when I click on the
image link, I get an error like
"The requested URL /usr/local/www/mediawiki/img/4/4f/IMG_4025a.jpg was
not found on this server."
I guess I could solve the problem by using a symlink from the sites
images directory to the other directory. But I think there /should/ be a
way to do it by setting the right options in the LocalSettings.php.
Regards,
Jon Theil Nielsen
_______________________________________________
MediaWiki-l mailing list
To unsubscribe, go to:
https://lists.wikimedia.org/mailman/listinfo/mediawiki-l