Which ebuild for apache do u use ?
    The newest ebuilds have taken out some config files.
    Check the /etc/conf.d/apache2 and see how it's started.
    try /usr/sbin/apache2 -S to see which vhosts are defined and where.
    If it's on the default vhost the:
    <Directory />
        Option Indexes FollowSymLinks
    </Directory>

    should do it.

Catalin


Harry Putnam wrote:
Catalin Trifu <[EMAIL PROTECTED]> writes:


  Option Indexes

Harry Putnam wrote:


I seem to recall some trick stuff done with .htaccess or the like that
would cause apache to be able to display any files appearing in a
directory when someone hit www.myhost.org/somedir

Anyone here know how that is done?


Thanks, but I'm not getting how its done.  Consulting the apache
manual online I ended up thinking something like this should work in
/etc/apache2/conf/commonapache2.conf.  The plus sign is supposed to
mean it will merge onto other directory entries.

  <Directory /hpweb/TrainingVids/DigitalPhotography>
    Options +Indexes
  </Directory>

There is another Directory entry in that stock file right above where
I inserted mine that looks like:

  <Directory />
    Options -All -Multiviews
    AllowOverride None
    <IfModule mod_access.c>
      Order deny,allow
      Deny from all
    </IfModule>
  </Directory>

I thought maybe the minus sign on All would mean it was ruled out for
all options, so changed it to +. It didn't work either way after `/etc/init.d/apache2 restart'

The error is:

You don't have permission to access
/hpweb/TrainingVids/DigitalPhotography/ on this server.

However that directory has the same permissions as all others. (my
user)



--
gentoo-user@gentoo.org mailing list

Reply via email to