View Single Post
Old 02-13-2014, 06:16 AM  
freecartoonporn
Confirmed User
 
freecartoonporn's Avatar
 
Industry Role:
Join Date: Jan 2012
Location: NC
Posts: 7,683
Quote:
Originally Posted by Mr. Stiff View Post
Code:
AuthType Basic
AuthName "Please Log In"
AuthUserFile /some/path/.htpasswd
Require valid-user
Order deny,allow
Deny from all
Allow from 1.2.3.4
Allow from 1.2.3.5
Satisfy any
where the ip's are those of the CDN host
i guess , that would be wrong to place all cdn's ip there.

instead try like this

Code:
AuthType Basic
AuthName "Please Log In"
AuthUserFile /some/path/.htpasswd
Require valid-user
Order allow,deny
Allow from All
Deny from none
Satisfy any
freecartoonporn is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote