|
|
|
|
||||||
| alt.apache.configuration Apache web server configuration issues. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
|
|
#2 (permalink) |
|
Messages: n/a
Hébergeur: |
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. |
|
|
|
#3 (permalink) |
|
Messages: n/a
Hébergeur: |
"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 |
|
|
|
#4 (permalink) |
|
Messages: n/a
Hébergeur: |
"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 |
|
|
|
#5 (permalink) |
|
Messages: n/a
Hébergeur: |
"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 |
|
|
|
#6 (permalink) |
|
Messages: n/a
Hébergeur: |
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 |
|
![]() |
| Outils de la discussion | |
|
|