You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by "Apolinaras \"Apollo\" Sinkevicius" <ap...@yahoo.com> on 2002/04/02 01:41:29 UTC

How to restrict access to directory by referrer? Preventing download.com referrals.

I need to figure out how to let only people from selected referrer 
web-sites to access one directory on my server. So lets say people who were 
referred by anse.de can get into that directory, but people who were 
referred by download.com will be turned away. Any idea how it can be done 
via config file?
Thanx in advance,
Apollo


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: How to restrict access to directory by referrer? Preventing download.com referrals.

Posted by Joshua Slive <jo...@slive.ca>.
On Mon, 1 Apr 2002, Apolinaras "Apollo" Sinkevicius wrote:

> I need to figure out how to let only people from selected referrer
> web-sites to access one directory on my server. So lets say people who were
> referred by anse.de can get into that directory, but people who were
> referred by download.com will be turned away. Any idea how it can be done
> via config file?

See:
http://httpd.apache.org/docs/env.html#examples

Joshua.


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org