GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   .htaccess file help needed (https://gfy.com/showthread.php?t=1133442)

247mg 02-13-2014 04:08 AM

.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.

CurrentlySober 02-13-2014 04:10 AM

Quote:

Originally Posted by dpapa (Post 19980917)

please stick to topic.


NO!!!

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

Mr. Stiff 02-13-2014 05:36 AM

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

freecartoonporn 02-13-2014 06:16 AM

Quote:

Originally Posted by Mr. Stiff (Post 19980996)
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



All times are GMT -7. The time now is 02:00 PM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc