Jump to content

.htaccess permission


andrewholway

Recommended Posts

Hi,

 

Ive got some parts of my site that I would like secure and some that I want east acces to caus Im hotlinking some stuff to other sites.

 

/ needs to be secure so I have

 

AuthName "Restricted Area" 
AuthType Basic 
AuthUserFile /var/htdocs/.htpasswd
AuthGroupFile /dev/null 
require valid-user

 

bit I want

 

/pics/avatar.gif/

 

to be freely available.

 

Any Ideas?

 

Cheers,

 

Andy

Link to comment
https://forums.phpfreaks.com/topic/36661-htaccess-permission/
Share on other sites

Yeah, Starting to come round to the idea that its not really possible. Or if it is, its going to be a pain in the ass. Someone suggested making some filetypes password protected others not......

 

meh

 

I think I should just organise things appropriatly.

 

i.e

 

http(s)://secure.mydomain.co.uk

and

http://open.mydomain.co.uk

 

Cheers for the help tho

 

Andy

 

Link to comment
https://forums.phpfreaks.com/topic/36661-htaccess-permission/#findComment-177836
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.