Update Apache2 sample configuration to allow disable password asking when we're on a private network
This commit is contained in:
		@@ -8,10 +8,16 @@
 | 
			
		||||
		  AuthType Basic
 | 
			
		||||
		  AuthName "Private"
 | 
			
		||||
		  AuthUserFile /private/_pwd/user
 | 
			
		||||
		  Require valid-user
 | 
			
		||||
		  Options +FollowSymlinks
 | 
			
		||||
		  # Uncomment to remove password for internal network
 | 
			
		||||
                  # <RequireAny>
 | 
			
		||||
                  #   Require ip 192.168.0.0/24
 | 
			
		||||
                    Require valid-user
 | 
			
		||||
                  # </RequireAny>
 | 
			
		||||
	</Location>
 | 
			
		||||
 | 
			
		||||
	<Location "/users/">
 | 
			
		||||
		  Options +FollowSymlinks
 | 
			
		||||
		  Allow from all
 | 
			
		||||
		  Satisfy Any
 | 
			
		||||
	</Location>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user