valid_referers syntax in hotlinking protection #94

Closed
EDanee opened this Issue Mar 30, 2013 · 1 comment

Comments

Projects
None yet
2 participants

EDanee commented Mar 30, 2013

Hi,

In the apps / drupal / hotlinking_protection.conf file the valid_referers line will give you the following error:
[emerg] invalid hostname or wildcard ".example."

This worked for me:
valid_referers none blocked server_names ~(example.|google.|bing.|yahoo.) my.site.com;

Daniel

Owner

perusio commented Apr 4, 2013

Fixed. Thanks.

perusio closed this Apr 4, 2013

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment