SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Member
    Join Date
    May 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Unhappy .htaccess - how to

    hi,
    i want to restrict certain files to be directly accessed in certain directories . These files are supposed to be included in other pages , but i want to restrict people just copy pasting their url's / copy shortcuts and paste them on the browser . is this possible by using .htaccess or something else ? I am on a shared hosting account of course and don't have root access . I would like to redirect the users / or simply restrict access to the file directly . :'(

  2. #2
    SitePoint Member
    Join Date
    May 2005
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    I have tried reading : http://altlab.com/htaccess_tutorial.html , the example which shows how i can disable hotlinking on a particular directory . but i am getting internal server error . What could be the reason ?

  3. #3
    Hosted like our own ... Uncensored's Avatar
    Join Date
    Jul 2004
    Location
    CA
    Posts
    1,386
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Post the code you are using in your .htaccess file and the desired result?
    Ddos, DOS, Brute force, Password Trading & Proxy attack defense.
    MONEY BACK GUARANTEE! No price increase EVER!
    gus@photographybygus.com | sales@uncensored-hosting.com
    PbG Video, Graphic & Web Design | Uncensored-Hosting

  4. #4
    get into it! bigduke's Avatar
    Join Date
    May 2004
    Location
    Australia
    Posts
    847
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    This one covers it all http://httpd.apache.org/docs/howto/htaccess.html
    do make sure you read the article on .htaccess here at sitepoint before reading that

  5. #5
    SitePoint Evangelist ldivinag's Avatar
    Join Date
    Jan 2005
    Location
    N37 33* W122 3*
    Posts
    414
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    leo d.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •