Subdude2k, your answer finally does work.   I really appreciate your posting
this, as  the SetEnvIf Referrer that Simon said would not work in the
.htaccess file.

IMHO, every server admin should do this who is using a web based downloadurl
that has bandwidth limits.

One last answer that I confirmed works if you have multiple servers, you can
define each IP on its own line.  This is now my .htaccess file:

SetEnvIfNoCase Referer ^hl2://64\.156\.56\.122 allow_download
SetEnvIfNoCase Referer ^hl2://67\.18\.241\.74 allow_download
SetEnvIfNoCase Referer ^hl2://67\.18\.241\.75 allow_download
Order Deny,Allow
Allow from env=allow_download
Deny from all



----- Original Message -----
From: "Subdude2k" <[EMAIL PROTECTED]>
To: <[email protected]>
Sent: Tuesday, June 07, 2005 8:28 AM
Subject: Re: [hlds] VALVe hide our sv_downloadurl paths!


The Referer works fine and has been doing so for a while now.

I'm using .htaccess files on my Apache web server to only allow access
to the hosted maps and files from our own CS Server.  Here's the
contents of my .htaccess file

--

SetEnvIfNoCase Referer ^hl2://195\.20\.108\.36 allow_download
Order Deny,Allow
Allow from env=allow_download
Deny from all

--

HTH

Subdude2k

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives,
please visit:
http://list.valvesoftware.com/mailman/listinfo/hlds






_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds

Reply via email to