or ?

Giganews Newsgroups
Subject: <Location> or <directory> ?
Posted by:  Mike (…@privacy.net)
Date: Fri, 04 Jul 2008

In my virtual host config what the correct tag to use for denies.    I
cannot work out the difference between location and directory from the
manual.

<Location>
Deny from 194.8.75.*
</Location>

<Directory>
Deny from 194.8.75.*
</Directory>

Replies