Difference between revisions of "Apache"

From MyWiki
Jump to: navigation, search
(Created page with "<source lang="text"> An example of this is using access control to assure that, although a resource is password protected from outside your network, all hosts inside the netwo...")
 
Line 1: Line 1:
 
<source lang="text">
 
<source lang="text">
An example of this is using access control to assure that, although a resource is password protected from outside your network, all hosts inside the network will be given unauthenticated access to the resource. This would be accomplished by using the Satisfy directive, as shown below.
+
An example of this is using access control to assure that, although a resource is password protected  
 +
from outside your network, all hosts inside the network will be given unauthenticated access to the resource.  
 +
This would be accomplished by using the Satisfy directive, as shown below.
  
 
<Directory /usr/local/apache/htdocs/sekrit>
 
<Directory /usr/local/apache/htdocs/sekrit>

Revision as of 13:33, 14 October 2014

An example of this is using access control to assure that, although a resource is password protected 
from outside your network, all hosts inside the network will be given unauthenticated access to the resource. 
This would be accomplished by using the Satisfy directive, as shown below.
 
<Directory /usr/local/apache/htdocs/sekrit>
AuthType Basic
AuthName intranet
AuthUserFile /www/passwd/users
AuthGroupFile /www/passwd/groups
Require group customers
Order allow,deny
Allow from internal.com
Satisfy any
</Directory>