PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > alt.apache.configuration > directory listing
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
alt.apache.configuration Apache web server configuration issues.

directory listing

Réponse
 
LinkBack Outils de la discussion
Vieux 12/10/2006, 16h17   #1 (permalink)
miguel-lopes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut directory listing

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



  Réponse avec citation
Vieux 12/10/2006, 17h34   #2 (permalink)
MikeDawg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: directory listing


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.

  Réponse avec citation
Vieux 12/10/2006, 17h54   #3 (permalink)
miguel-lopes
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: directory listing



"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


  Réponse avec citation
Vieux 12/10/2006, 18h09   #4 (permalink)
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
Vieux 12/10/2006, 19h03   #5 (permalink)
HansH
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: directory listing

"miguel-lopes" <milopes@hotmail.com> schreef in bericht
news:kpWdnY8EHrz57rPYRVnysw@novis.pt...
> 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??

If your link to a download-file looks like
http://my.server.org/downloads/here/is/afile4u.gz
try <Location /downloads>

HansH


  Réponse avec citation
Vieux 13/10/2006, 13h42   #6 (permalink)
MikeDawg
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: directory listing

miguel-lopes wrote:
> "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


http://httpd.apache.org/docs/2.0/mod...l#servertokens

  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h00.


Édité par : vBulletin® version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12268 seconds with 14 queries