Welcome to MobyThreads.com!
FAQFAQ      ProfileProfile    Private MessagesPrivate Messages   Log inLog in
All support for the MobyThreads Threaded phpBB MOD can now be found on welsolutions at this forum

directory listing

 
   Web Hosting and Web Master Forums (Home) -> Apache RSS
Next:  Apache service start twice and consumes cpu resou..  
Author Message
miguel-lopes

External


Since: Oct 12, 2006
Posts: 3



(Msg. 1) Posted: Thu Oct 12, 2006 4:17 pm
Post subject: directory listing
Archived from groups: alt>apache>configuration (more info?)

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

 >> Stay informed about: directory listing 
Back to top
Login to vote
MikeDawg

External


Since: Feb 06, 2006
Posts: 32



(Msg. 2) Posted: Thu Oct 12, 2006 4:17 pm
Post subject: Re: directory listing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

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.

 >> Stay informed about: directory listing 
Back to top
Login to vote
miguel-lopes

External


Since: Oct 12, 2006
Posts: 3



(Msg. 3) Posted: Thu Oct 12, 2006 5:54 pm
Post subject: Re: directory listing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"MikeDawg" <mikedawg.TakeThisOut@gmail.com> escreveu na mensagem
news:1160670855.676150.72010@m7g2000cwm.googlegroups.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
 >> Stay informed about: directory listing 
Back to top
Login to vote
miguel-lopes

External


Since: Oct 12, 2006
Posts: 3



(Msg. 4) Posted: Thu Oct 12, 2006 6:09 pm
Post subject: Re: directory listing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"miguel-lopes" <milopes.TakeThisOut@hotmail.com> escreveu na mensagem
news:kpWdnY8EHrz57rPYRVnysw@novis.pt...
>
>
> "MikeDawg" <mikedawg.TakeThisOut@gmail.com> escreveu na mensagem
> news:1160670855.676150.72010@m7g2000cwm.googlegroups.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
 >> Stay informed about: directory listing 
Back to top
Login to vote
hans1

External


Since: Mar 29, 2004
Posts: 672



(Msg. 5) Posted: Thu Oct 12, 2006 8:03 pm
Post subject: Re: directory listing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

"miguel-lopes" <milopes.RemoveThis@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
 >> Stay informed about: directory listing 
Back to top
Login to vote
MikeDawg

External


Since: Feb 06, 2006
Posts: 32



(Msg. 6) Posted: Fri Oct 13, 2006 5:42 am
Post subject: Re: directory listing [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

miguel-lopes wrote:
> "miguel-lopes" <milopes.DeleteThis@hotmail.com> escreveu na mensagem
> news:kpWdnY8EHrz57rPYRVnysw@novis.pt...
> >
> >
> > "MikeDawg" <mikedawg.DeleteThis@gmail.com> escreveu na mensagem
> > news:1160670855.676150.72010@m7g2000cwm.googlegroups.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/core.html#servertokens
 >> Stay informed about: directory listing 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
directory listing cut off? - A few weeks ago, Apache 2.0.43 on XP started returning a truncated HTML page for the directory index that it generates for the photo directories on my web server. The HTML just cuts off around 7 or 8K into the listing. I upgraded to 2.0.48 and it still..

No Directory Listing - Hi all, I am going round in circles with this, I want to stop directory listing when no index file is in a specific directory I cannot find where in the conf file I need to set this up and what entry I need to put in.... help *very* much appreciated ....

Apache Directory Listing - How can you make all directories non listable but make one with directory listing available. As in : / and /foo make non listable but make /foo/reports/ listable. Thanks

Directory Listing Problem - Hi there. I'm having a slight problem with directory listings on the Win32 (1.3.27) version of Apache. Basically, it will only perform directory listings in subdirectories of 'htdocs' (the default document folder) but not elsewhere. I've got about 20..

Apache directory listing - Hi, Is there a way to configure Apache's default directory listing so the name field is wider? Thanks, Scott
   Web Hosting and Web Master Forums (Home) -> Apache All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]