Hi Daniel, On Tue, Apr 22, 2014 at 3:59 PM, Daniel Friesen <[email protected]> wrote: > - I don't recommend blacklisting php for uploads that way (that's not > even protecting the wiki uploads anyways, is it?). A much nicer way is > to enclose the .php handler such that when you define an empty location > for the images dir the php handler simply doesn't exist under that path > anymore.
Makes sense. I'll have to learn a bit more before I understand quite how to act on that advice! Meanwhile, I'll comment it out. > - The final entry for the try_files in your wiki section points to > WordPress, not MediaWiki. > Proper nginx config for MediaWiki looks closer to this: > http://shorturls.redwerks.org/?source=userdata&fcgi_params=%2Fetc%2Fnginx%2Ffastcgi_params&has_root=1&fcgi_pass=127.0.0.1%3A9000&script=%2Fthehumanitycontinuum%2Findex.php&hashed_uploads=1&mod_php=1&url=http%3A%2F%2Fen.wikipedia.org%2Fwiki%2FMain_Page&server=nginx&articlepath=%2Fthehumanitycontinuum%2Fwiki%2F%241&thumb_handler=on > > What is the path to MediaWiki's index.php? http://www.mattselznick.com/thehumanitycontinuum/wiki/ This is very helpful, but I am still learning. Am I to understand that I would add the conf info from the above link in the wiki's location block? -- Matthew Wayne Selznick Author, Creator and Creative Services Provider http://www.mattselznick.com Get a Free Sampler of My Short Stories, Novels, and Non-Fiction: http://www.mattselznick.com/free-ebook _______________________________________________ MediaWiki-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
