+ * Optional Parameters
+ *
+ * - Set $wgImgAuthDetails = true if you want the reason the access was denied messages to be displayed
+ * instead of just the 403 error (doesn't work on IE anyway), otherwise will only appear in error logs
+ * - Set $wgImgAuthPublicTest false if you don't want to just check and see if all are public
+ * must be set to false if using specific restrictions such as LockDown or NSFileRepo
+ *
+ * For security reasons, you usually don't want your user to know *why* access was denied, just that it was.
+ * If you want to change this, you can set $wgImgAuthDetails to 'true' in localsettings.php and it will give the user the reason
+ * why access was denied.
+ *
+ * Your server needs to support PATH_INFO; CGI-based configurations usually don't.