Thread:Project talk:Support desk/Unable to make file upload working

Hello I've just installed mediawiki on my apache web server. So far everything ran smoothly, then only thing left was for me to add image upload.

Once I enabled that image upload module I wanted to test by uploading one image. So I did successfully upload image but for some reason it wasn't displaying on my wiki page.

I went to a upload directory to see if the actual file size matches the one on my laptop and it does so I guess file upload went successful.

However once I click on the broken image to access the image directly I get a internal server error, i.e http://mydomain.com:10000/wiki/images/f/f1/test.png :

Internal Server Error The server encountered an internal error or misconfiguration and was unable to complete your request. Please contact the server administrator, root@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error. More information about this error may be available in the server error log.

When I look at the error logs this is what I see :

[Sun Mar 10 13:57:09 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png [Sun Mar 10 13:57:09 2013] [error] [client xxx.xx.x.xxx] File does not exist: /var/www/html/favicon.ico [Sun Mar 10 13:58:04 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png [Sun Mar 10 13:58:04 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png [Sun Mar 10 13:58:07 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png [Sun Mar 10 13:58:07 2013] [error] [client xxx.xx.x.xxx] File does not exist: /var/www/html/favicon.ico [Sun Mar 10 13:58:12 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here [Sun Mar 10 13:58:12 2013] [error] [client xxx.xx.x.xxx] File does not exist: /var/www/html/favicon.ico [Sun Mar 10 14:02:09 2013] [alert] [client xxx.xx.x.xxx] /usr/share/mediawiki/images/.htaccess: RewriteEngine not allowed here, referer: http://mydomain.com:10000/wiki/index.php/File:test.png

And I wonder if there is any opinions how to solve this issue?