Welcome to the GoFuckYourself.com - Adult Webmaster Forum forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Post New Thread Reply

Register GFY Rules Calendar
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >
Discuss what's fucking going on, and which programs are best and worst. One-time "program" announcements from "established" webmasters are allowed.

 
Thread Tools
Old 02-13-2014, 04:08 AM   #1
247mg
Yellowplum / 247mg
 
247mg's Avatar
 
Industry Role:
Join Date: Feb 2008
Location: Nicosia, CY
Posts: 2,161
.htaccess file help needed

we have taken CDN service for our paid areas which are protected by conventional .htacess file but issue is that CDN pull zone unable to fetch file bcz authorization required and 401 or 302 error coming when fetching file. When we remove .htaccess file cdn server successfully fetch files and get 200 response.

Any idea how and what need to be added in .htaccess file to allow cdn server to fetch files with .htaccess turn on.

please stick to topic.
__________________
247mg.com - Indian Affiliate Program - Over 50+ Sites To Promote - Monetize Your INDIAN Traffic Today!
247mg is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-13-2014, 04:10 AM   #2
CurrentlySober
Too lazy to wipe my ass
 
CurrentlySober's Avatar
 
Industry Role:
Join Date: Aug 2002
Location: A Public Bathroom
Posts: 38,513
Quote:
Originally Posted by dpapa View Post

please stick to topic.

NO!!!

I like POOOOOO!!!!!!!!!!!!
__________________


👁️ 👍️ 💩
CurrentlySober is online now   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-13-2014, 05:36 AM   #3
Mr. Stiff
So Fucking Stiff!
 
Mr. Stiff's Avatar
 
Industry Role:
Join Date: Oct 2005
Posts: 493
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
__________________
ICQ 208807506
Mr. Stiff is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote
Old 02-13-2014, 06:16 AM   #4
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
Post New Thread Reply
Go Back   GoFuckYourself.com - Adult Webmaster Forum > >

Bookmarks



Advertising inquiries - marketing at gfy dot com

Contact Admin - Advertise - GFY Rules - Top

©2000-, AI Media Network Inc



Powered by vBulletin
Copyright © 2000- Jelsoft Enterprises Limited.