M manofphat New Member Nov 21, 2007 #1 Nov 21, 2007 #1 Hello, I used to use the following in my .htaccess file in Apache. How would I go about writing it so it works with LiteSpeed? Code: SetEnvIfNoCase Referer hl2://xx\.xx\.xx\.xx allow_download Order Deny,Allow Allow from env=allow_download Deny from all Thank you for your time!
Hello, I used to use the following in my .htaccess file in Apache. How would I go about writing it so it works with LiteSpeed? Code: SetEnvIfNoCase Referer hl2://xx\.xx\.xx\.xx allow_download Order Deny,Allow Allow from env=allow_download Deny from all Thank you for your time!
F felosi Well-Known Member Nov 21, 2007 #3 Nov 21, 2007 #3 This is one of my customers here. Ive tried to find a substitute using rewrite rules to no avail. Would anyone happen to know the correct rewrite rule conversion for this?
This is one of my customers here. Ive tried to find a substitute using rewrite rules to no avail. Would anyone happen to know the correct rewrite rule conversion for this?
M mistwang LiteSpeed Staff Nov 21, 2007 #4 Nov 21, 2007 #4 Something like Code: RewriteCond %{HTTP_REFERER} !^hl2://xx\.xx\.xx\.xx$ RewriteRule .* - [F]
M manofphat New Member Nov 21, 2007 #5 Nov 21, 2007 #5 I can still view the contents of that directory when I'm not being referred by that IP. Thanks!