httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "J.M. Castroagudin" <>
Subject [users@httpd] Allow/Deny directive and https
Date Thu, 13 Sep 2007 13:46:41 GMT
Hi everybody,

I have been trying to limit access to certain 'directories' (inside a 
https vhost) based on IP directives. Something like this:

SetEnvIf remote_addr W.X.Y.Z intranet
SetEnvIf Client-ip W.X.Y.Z intranet

<VirtualHost *:443>
DocumentRoot "/disc/html/https"


<Directory /disc/html/https/intranet>
    Order Deny,Allow
    Deny from All
    Allow from env=intranet



There is only a https virtual host in this server.

But it seems not to work as expected. Accesing via 
'', Deny and Allow directives work right (it is 
defined before in conf file). Although, entering via 
'', everybody has acces to this directory...

Is there a way to do this? I am beginning thinking it can not be 
possible... it is?

Thanks in advance,

J.M.Castroagudín Silva

The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:> for more info.
To unsubscribe, e-mail:
   "   from the digest:
For additional commands, e-mail:

View raw message