htaccess prevents from displaying images and blocks files
-
Hi,
I was successfully using UAM with WordPress on my site but recently we changed hosting and it resulted in huge problems with accessing to files.
First UAM blocked 90% of images on my website but I found out workaround here: http://wordpress.org/support/topic/uam-makes-serving-images-horribly-slow?replies=6 (suggested by digitalacorn)
This line in htaccess solved problem with images:
RewriteRule .*\.(jpg|png|gif|jpeg|bmp)$ – [L]This however didn’t solve access to other files (pdf, rar, zip etc). UAM seems to work fine when it comes to allowing/restricting specific content, but when I try to download a file the downloading process starts and hangs up. Finally after a while file is downloaded but cannot be opened (e.g pdf reader says that file is corrupted).
Does anyone have a clue what might be the reason for such behavior? It seems that current hosting provider has different server settings than the old one but I don’t know which one. I contacted them but haven’t got the answer yet.
BTW. I’m using 1.2.5.0 with Lock files set to yes
- The topic ‘htaccess prevents from displaying images and blocks files’ is closed to new replies.