![]() |
.htaccess question I don't want to allow hot linking to all of my categories, but I would like to allow it in some of them - the user specific ones which should have their own directory if I understand it right... Do I need to manually set up the .htaccess in that case? What do I need to put in the /files dir to block hot linking, and in the user dirs to allow it? |
Re: .htaccess question The images are stored according to the userid, so I'm not sure that disabling hotlinking per category would be easy to do. |
Re: .htaccess question I was looking at the sub dirs under /files, and it looks like the first folder created under /files is based on the category id. So in theory if my category id for my Member category is 2, couldn't I put an .htaccess file in that dir to override the .htaccess in /files ? I THINK its just a question of what I need to put into /files/2/.htaccess to override the Rewrite code in /files/.htaccess I could be completely zonkers on this, tho, I admit. :) Not an apache guru by any measure... |
Re: .htaccess question The files are not stored by the categoryid. |
Re: .htaccess question Oh, I see... its by each number in the users userid, right? user 257 would go in /files/2/5/7 ... Yes, I can see how that would make things much more complicated. :/ |
Re: .htaccess question Yup, that is how they're stored. Originally the images were going to be stored according to the categoryid, but we opted for this method since it doesn't require the physical images on the server to be moved if you change the image's category and such. |
Re: .htaccess question Yeah, user ids aren't likely to change. Hmm - well darn - I was hoping to be able to say "this usergroup can hotlink" and offer it as another feature for subscribers. Ah well, c'est la vie. |
| All times are GMT -5. The time now is 09:07 PM. |
Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0