httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ed Curtis ...@homes2see.com>
Subject Re: [users@httpd] Access to directories by IP address.
Date Thu, 16 Oct 2003 15:05:52 GMT


You are correct, my mistake. I do have a full system path to the folder.

<Directory /var/www/home/test>

Anything else?

Ed


On Thu, 16 Oct 2003, Joshua Slive wrote:

>
> On Thu, 16 Oct 2003, Ed Curtis wrote:
> > 	<Directory /test>
> > 	order deny,allow
> > 	deny from all
> > 	allow from this class c/24
> > 	allow from 10.0.0.0/24
> > 	</Directory>
> >
> > I restarted the server, made sure mod_access is loaded and can still
> > access the www.homer.com/test directory from outside the networks outlined
> > in the above directive.
>
> <Directory> takes a full file-system path, not a web/url-path.  So you
> probably need <Directory /usr/local/apache2/htdocs/test/> or something
> like that.
>
> 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
>    "   from the digest: users-digest-unsubscribe@httpd.apache.org
> For additional commands, e-mail: users-help@httpd.apache.org
>


---------------------------------------------------------------------
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