SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot LORDGreg's Avatar
    Join Date
    May 2001
    Location
    Ptuj, Slovenia
    Posts
    121
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Apache .htaccess help

    I just need to know what to write into .htaccess file for my example:

    If you click on a directlink that is if you download a file of some sort (exe, zip,..) everything is okay, but if you want to view the whole directory where file is located (http://domain.com/files/), you get 403 - `Forbidden` error.


    how to do that?



    thanks for the answer
    lordgreg, sloreactor.com
    http://www.sloreactor.com/

  2. #2
    morphine for a wooden leg randem's Avatar
    Join Date
    Jun 2002
    Location
    .chicago.il.us
    Posts
    957
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    If the server is configured to allow it, you can add
    Code:
    Options +Indexes
    to the .htaccess file to allow indexing. However, some admins don't allow options like this to be configured from .htaccess.
    ----Adopt-a-Sig----
    Your message here!


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
  •