You are viewing a plain text version of this content. The canonical link for it is here.
Posted to wiki-changes@httpd.apache.org by Apache Wiki <wi...@apache.org> on 2008/12/24 06:25:03 UTC
[Httpd Wiki] Update of "DisableImageHotLinking" by harig
Dear Wiki user,
You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change notification.
The following page has been changed by harig:
http://wiki.apache.org/httpd/DisableImageHotLinking
The comment on the change is:
typo jpep -> jpeg
------------------------------------------------------------------------------
</FilesMatch>
}}}
- This !SetEnvIf checks the referer and sets a local environment variable if the referer contains your domain. The !FilesMatch then matches the request for jpep, png, and gif files. If there's a match in the filename, then access to that resource is only allowed if the local environment variable is set.[[BR]][[BR]]
+ This !SetEnvIf checks the referer and sets a local environment variable if the referer contains your domain. The !FilesMatch then matches the request for jpeg, png, and gif files. If there's a match in the filename, then access to that resource is only allowed if the local environment variable is set.[[BR]][[BR]]
In both methods, you might want to add patterns to the referer checks since there might be more ways your site will be accessed by - localhost for localhost testing, IP address, LAN hostname, etc.