andrewholway Posted February 1, 2007 Share Posted February 1, 2007 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 Quote Link to comment Share on other sites More sharing options...
the_oliver Posted February 5, 2007 Share Posted February 5, 2007 As far as i know you cannot protect a directory but exclude parts with-in it. You could split your site tree. EG: Have a main folder not protected. In this have a protected folder and a non protected folder. Then just link between the two. Quote Link to comment Share on other sites More sharing options...
andrewholway Posted February 6, 2007 Author Share Posted February 6, 2007 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 Quote Link to comment Share on other sites More sharing options...
the_oliver Posted February 6, 2007 Share Posted February 6, 2007 Sounds like a much better idea! especialy as inevitabley not all file types will be secure or not! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.