direct to htacces

Discussion in 'Site & Server Administration' started by jonhyhar, Oct 6, 2009.

  1. #1
    hi guys, i want to secure some of the folders on my site.

    i want all entry from outsiders into the files in the "sitename.com/images" folder to be blocked.

    if it writes sitename.com/images/ust.jpg or sitename.com/images/ in the url, how can i direct it to the sitename.com/restricted.html page?

    for example a friend has blocked the tpl files in this folder

    
    http://unililer.com/templates/home.tpl
    Code (markup):
    how can we direct these kind of restricred pages?
     
    jonhyhar, Oct 6, 2009 IP
  2. jonhyhar

    jonhyhar Active Member

    Messages:
    166
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    53
    #2
    yeah but what should i write into htaccess file?
     
    jonhyhar, Oct 6, 2009 IP