Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236

    directory browsing

    ok, i have apache 1.3.26 installed, and the latest version of webmin.

    i have been playing around with webmin, but am haveing a problem with something

    i have a folder on the server which can be found at www.thedigitaldream.co.uk/matt/

    but how do you set up apache using webmin to allow directory browsing, as all it says when i goto www.thedigitaldream.co.uk/matt/ is forbidden, you do not have permission to access /matt/

    thanx in advance

    matt

  2. #2
    Join Date
    Jul 2002
    Location
    The Big Easy -New Orleans
    Posts
    341
    Assuming your using Apache, inside of httpd.conf add:

    <Directory [physical path to directory]>
    Options Indexes
    </Directory>

    note - it is the physical path not the logical for example if it's abc.com/mydir/ then the path may actually be something like
    /wwwroot/abc/docs/mydir

    not /mydir

    The root path will vary from server to server, but you should get the idea.

    Be sure the Directory tag in the proper virtualserver section if you have multiple sites on the box. Also you'll need to stop and restart apache to take effect.

    do a "apachectl configtest" first to test that you haven't messed up the httpd.conf file. then "apachectl restart" if ok

    If you don't have access to httpd.conf, you can place this into a .htaccess file in the directory.

    See the following for more info on using .htaccess files:
    http://apache-server.com/tutorials/A...-htaccess.html

  3. #3
    Join Date
    Jun 2002
    Location
    United Kingdom
    Posts
    1,236

    Thumbs up cheers

    thanx, got it sorted now

Posting Permissions

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