Find the answer to your Linux question:
Results 1 to 4 of 4
I just installed apahce on my gentoo system but i cant get it to list directories. Heres the permisions on the dir that I want to list: Code: bash-2.05b$ ls ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Linux Newbie
    Join Date
    Sep 2003
    Location
    St.Charles, Missouri, USA
    Posts
    201

    403 Permision Denied/Apache


    I just installed apahce on my gentoo system but i cant get it to list directories. Heres the permisions on the dir that I want to list:
    Code:
    bash-2.05b$ ls -l
    drwxr-xr-x    7 gwalters users        4096 Apr  3 19:39 docments
    lrwxrwxrwx    1 gwalters users           9 Apr  3 19:38 public_html -> docments/
    my config files are @ http://www.geocities.com/enderthexen...005/apache.zip
    thats not a real zip file, its a tar. i renamed it so geocities would upload it. please help!
    Powered by Gentoo
    never ever ever use the hardened option in make.conf!

  2. #2
    Linux Engineer Giro's Avatar
    Join Date
    Jul 2003
    Location
    England
    Posts
    1,219
    What do you mean by list directorys? Do you mean display all the files in the directory via a browser? If so do you get permission denied when you try to access the directory?

  3. #3
    Linux Newbie
    Join Date
    Sep 2003
    Location
    St.Charles, Missouri, USA
    Posts
    201
    Yes i meant list the contents of a directory via a browser. I get a permision denied when i try to do it.
    Powered by Gentoo
    never ever ever use the hardened option in make.conf!

  4. #4
    Just Joined!
    Join Date
    Mar 2004
    Posts
    30
    By default apache will not displays the directory content. To fix this, search the httpd.conf file for the Options and add Indexes:

    <Directory />
    Options FollowSymLinks Indexes
    AllowOverride None
    </Directory>

    Restart apache....

    Richard

Posting Permissions

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