The following can be used in an apache config file, including a .htaccess.
SetEnvIfNoCase Referer "^https?://([^\.]*\.mv|mv)pi(x|cs)\.com" allow_img SetEnvIfNoCase Referer "^$" allow_img <FilesMatch "\.(gif|png|jpe?g)$"> Order deny,allow Deny from all Allow from env=allow_img </FilesMatch>
I've optimized the SetEnvIfNoCase regexp somewhat. The following will work also:
SetEnvIfNoCase Referer "^http://mvpix.com" allow_img SetEnvIfNoCase Referer "^https://mvpix.com" allow_img SetEnvIfNoCase Referer "^http://www.mvpix.com" allow_img SetEnvIfNoCase Referer "^https://www.mvpix.com" allow_img etc...
LateR!
js.
