Welcome Guest, Not a member yet? Register   Sign In
(Solved) Simple cache question
#9

[eluser]markanderson993[/eluser]
I tried what you said by using a temporary directory (which was a public folder) and I used .htaccess to protect it. However, when I'd try and serve the image up from the website, it would not display. When I deleted my htaccess file, the image did display. How were you able to prevent users from accessing the files directly?

My .htaccess file:

<FilesMatch "\.(htaccess|htpasswd|avi|flv|mp4|jpg|gif|mov|mpeg|ini|phps|fla|psd|log|sh)$">
Order Allow,Deny
Deny from all
</FilesMatch>
IndexIgnore *


Messages In This Thread
(Solved) Simple cache question - by El Forum - 07-31-2008, 11:24 PM
(Solved) Simple cache question - by El Forum - 08-01-2008, 12:05 AM
(Solved) Simple cache question - by El Forum - 08-01-2008, 11:30 AM
(Solved) Simple cache question - by El Forum - 08-01-2008, 03:20 PM
(Solved) Simple cache question - by El Forum - 08-01-2008, 03:24 PM
(Solved) Simple cache question - by El Forum - 08-01-2008, 08:56 PM
(Solved) Simple cache question - by El Forum - 08-01-2008, 09:40 PM
(Solved) Simple cache question - by El Forum - 08-02-2008, 01:01 PM
(Solved) Simple cache question - by El Forum - 08-02-2008, 07:51 PM
(Solved) Simple cache question - by El Forum - 08-03-2008, 10:29 AM
(Solved) Simple cache question - by El Forum - 08-03-2008, 03:07 PM



Theme © iAndrew 2016 - Forum software by © MyBB