Is there an option in Img auth.php where we can allow only the wiki to use an image, and disallow external sites from leeching on traffic? I know there's another server option but I wonder if img_auth has any options. Eric
--------------------------------- Yahoo! oneSearch: Finally, mobile search that gives answers, not web links.
Eric K wrote:
Is there an option in Img auth.php where we can allow only the wiki to use an image, and disallow external sites from leeching on traffic? I know there's another server option but I wonder if img_auth has any options. Eric
You should do that in the webserver configuration, not in MediaWiki. Here's an article about doing it in Apache with mod_rewrite:
http://kim.biyn.com/Linux/how_to_prevent_hotlinking_images_on_apache_server_...
-- Tim Starling
mediawiki-l@lists.wikimedia.org