You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Ac...@aol.com on 2004/09/20 04:07:17 UTC
[users@httpd] configuring .htaccess to only allow access if you come from a specific page?
See subject.
I'm trying to configure .htaccess to only allow access if you come from a
specific page. How would I do this?
-Andrew
Re: [users@httpd] configuring .htaccess to only allow access if you come from a specific page?
Posted by Eimantas Vaiciunas <ei...@sc.vu.lt>.
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