So I’m looking into enabling uploading for mediawiki, which isn’t on by default, but I’m concerned with making it as secure as the site says. Has anybody done this successfully with a shared hosting account that’s willing to give some advice?
In httpd.conf, add these lines:
Alias /upload /…/upload
php_flag engine off
Replace “…” with your path name.
My wiki url is sub.domain.net/wiki/, so I’m not entirely sure how to edit the path there. Furthermore, obviously, I don’t have access to httpd.conf, so could I put that in a .htaccess file? And if so, which directory would it go in, the main /wiki one or in /wiki/upload?