httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eimantas Vaiciunas <eimantas.vaiciu...@sc.vu.lt>
Subject Re: [users@httpd] configuring .htaccess to only allow access if you come from a specific page?
Date Mon, 20 Sep 2004 14:04:01 GMT
On Monday 20 September 2004 02:07, AceZero2790@aol.com wrote:
> I'm trying to configure .htaccess to only allow access if you come from a
> specific page. How would I do this?
Set the environment variable with SetEnvIf according to referer (the page user 
comes from) then use
Order deny,allow
Deny from all
Allow from env=variable_name_that_has_been_set
-----
Eimis

---------------------------------------------------------------------
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
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message