Discussion: directory listing
Afficher un message
Vieux 12/10/2006, 18h09   #4
miguel-lopes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: directory listing

"miguel-lopes" <milopes@hotmail.com> escreveu na mensagem
news:kpWdnY8EHrz57rPYRVnysw@novis.pt...
>
>
> "MikeDawg" <mikedawg@gmail.com> escreveu na mensagem
> news:1160670855.676150.72010@m7g2000cwm.googlegrou ps.com...
> >
> > miguel-lopes wrote:
> > > Hi
> > > I have apache 2.0.54 working fine but I need to do directory listing

on
> only
> > > 1 directory how cam I do it??
> > >
> > > The idea is to creat a directory called downloads and let people

> navigate in
> > > this directory and download the files it will have password

protection.
> > >
> > >
> > > Thanks

> >
> > There are a couple ways to do this, but pretty much, the key is to use
> > Options +indexes in order to get a directory listing.
> >
> > You can do this either from an .htaccess file, or you can do this from
> > the main apache httpd.conf file.
> >

>
> Thanks!
>
> Found this sintax on the net and tryied it
>
>
> <Directory /downloads>
> Options FollowSymLinks Indexes
> AllowOverride None
> </Directory >
>
> But still doesn't work what am I doing wrong??
> thanks
>
>


Thanks anyway I found it after doing some tries

<Directory /srv/www/htdocs/download>
Options FollowSymLinks +Indexes
AllowOverride None
</Directory>


Um other thing how can I avoid apearing this

Apache/2.0.54 (Linux/SUSE) Server at 192.168.10.222 Port 80

or this


192.168.10.222
Thu Oct 12 18:07:59 2006
Apache/2.0.54 (Linux/SUSE)


Thanks


  Réponse avec citation
 
Page generated in 0,05508 seconds with 9 queries