Following this suggestion: https://www.mediawiki.org/wiki/Thread:Project:Support_desk/uploading_images I renamed the .htaccess file in the \wiki\images folder to .htaccess.old and everything works now.
Is that safe? Thank you all very much for all the suggestions and feedback. On Mon, Aug 10, 2015 at 3:37 PM, Benjamin Lees <[email protected]> wrote: > Since there's a 500 error, there should be an entry in the server > error log. If you're lucky, it might even be something helpful. :) > > https://support.hostgator.com/articles/specialized-help/technical/apache-htaccess/can-i-access-my-apache-log-files > > On Sun, Aug 9, 2015 at 7:15 PM, Brion Vibber <[email protected]> > wrote: > > The actual image load gives an 'internal server error' eg > > http://wiki.marylandshallissue.org/images/8/88/MHP.png > > > > Most likely this is an issue with file permissions and the server > > configuration; many public hosts are set up to disallow web access to > > world-writable directories as a security measure, and the 'images' dirs > for > > uploads are often set up as world-writable by default to make it easier > for > > web and maintenance scripts to both access the files. > > > > Try in a terminal on your wiki directory: > > > > chmod -R 0755 images > > > > add to your LocalSettings.php to fix future dirs: > > > > $wgDirectoryMode = 0755; > > > > See if that helps... > > > > -- brion > > > > On Sun, Aug 9, 2015 at 2:07 PM, Brook Powers <[email protected]> wrote: > > > >> Hello, > >> > >> I installed the latest version of MediaWiki to a sub-doman called wiki, > on > >> my Hostgator Virtual Private Server. > >> > >> In the \wiki\config.php, to allow uploads. > >> > >> I can upload files, but the do not display on any of the wiki pages. > >> > >> Here is an example > >> > >> > http://wiki.marylandshallissue.org/index.php?title=Maryland_Handgun_Qualification_License > >> > >> Any help appreciated. > >> _______________________________________________ > >> MediaWiki-l mailing list > >> To unsubscribe, go to: > >> https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > >> > > _______________________________________________ > > MediaWiki-l mailing list > > To unsubscribe, go to: > > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l > _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
