[nycbug-talk] direct file access denied via htaccess

Francisco Reyes lists
Thu Jun 16 12:20:07 EDT 2005


On Thu, 16 Jun 2005, Steve Rieger wrote:

> Francisco Reyes wrote:
>>>> document root /usr/local/www/somedomain
>>>> images in
>>>> /usr/local/www/somedomain-pics
>>>> 
>>>> PHP would have to send the HTTP requests for the images though..

> thats correct i do not want you to be able to get 
> http://www.somedomain.com.images/image1.jog but when browsing you will be 
> allowed to go to http://www.somedomain.com/index.html

Ok, so what I wrote above may do the trick for you.




More information about the talk mailing list