You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@httpd.apache.org by Carlo Florendo <ca...@hq.astra.ph> on 2003/07/31 10:59:35 UTC

[users@httpd] Make directory available via http

Hello,

I want my ftp directory to be viewable via http.  How is this possible under apache?

I've setup a virtual host that points to my ftp directory.  When I view the ftp site through my browser, I get a forbidden error.
It says that either the directory is read protected or I don't have an index file.  Is it possible for apache to generate the index
file itself such that it would display the contents of the ftp directory?

The directory is /var/ftp

/var/ftp  has permission bits 755
/var has permission bits 755

Thanks!

Best Regards,

Carlo







---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Make directory available via http

Posted by Carlo Florendo <ca...@hq.astra.ph>.
This worked now.  THanks a lot.   It appears clearly in the manual.  I shoudl've thoroughly read first.  Thanks!

  ----- Original Message ----- 
  From: Luis Moreira 
  To: users@httpd.apache.org ; Alfredo Gómez Grande 
  Sent: Thursday, July 31, 2003 7:02 PM
  Subject: Re: [users@httpd] Make directory available via http


  <Directory /downloads/publico>
   Options Indexes
  </Directory>

    ----- Original Message ----- 
    From: Alfredo Gsmez Grande 
    To: users@httpd.apache.org 
    Sent: Thursday, July 31, 2003 10:32 AM
    Subject: Re: [users@httpd] Make directory available via http


    Well, I guess if you don't have an index.ht* file then the directory contents are displayed unless you have touched some of the original configuration of Apache 2.0 (in referring to this version).
     
    So I mean, that if you install apache and you set a directory below your web root and this directory doesn't have an index file, then the ftp (based on web or webfolders) are displayed.
     
    Try it and tell me.
     

    ----- Original Message ----- 
    From: Carlo Florendo 
    To: users@httpd.apache.org 
    Sent: Thursday, July 31, 2003 10:59 AM
    Subject: [users@httpd] Make directory available via http


    Hello,

    I want my ftp directory to be viewable via http.  How is this possible under apache?

    I've setup a virtual host that points to my ftp directory.  When I view the ftp site through my browser, I get a forbidden error.
    It says that either the directory is read protected or I don't have an index file.  Is it possible for apache to generate the index
    file itself such that it would display the contents of the ftp directory?

    The directory is /var/ftp

    /var/ftp  has permission bits 755
    /var has permission bits 755

    Thanks!

    Best Regards,

    Carlo







    ---------------------------------------------------------------------
    The official User-To-User support forum of the Apache HTTP Server Project.
    See <URL:http://httpd.apache.org/userslist.html> for more info.
    To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
       "   from the digest: users-digest-unsubscribe@httpd.apache.org
    For additional commands, e-mail: users-help@httpd.apache.org


Re: [users@httpd] Make directory available via http

Posted by Luis Moreira <la...@bes.pt>.
<Directory /downloads/publico>
 Options Indexes
</Directory>

  ----- Original Message ----- 
  From: Alfredo Gómez Grande 
  To: users@httpd.apache.org 
  Sent: Thursday, July 31, 2003 10:32 AM
  Subject: Re: [users@httpd] Make directory available via http


  Well, I guess if you don't have an index.ht* file then the directory contents are displayed unless you have touched some of the original configuration of Apache 2.0 (in referring to this version).

  So I mean, that if you install apache and you set a directory below your web root and this directory doesn't have an index file, then the ftp (based on web or webfolders) are displayed.

  Try it and tell me.


  ----- Original Message ----- 
  From: Carlo Florendo 
  To: users@httpd.apache.org 
  Sent: Thursday, July 31, 2003 10:59 AM
  Subject: [users@httpd] Make directory available via http


  Hello,

  I want my ftp directory to be viewable via http.  How is this possible under apache?

  I've setup a virtual host that points to my ftp directory.  When I view the ftp site through my browser, I get a forbidden error.
  It says that either the directory is read protected or I don't have an index file.  Is it possible for apache to generate the index
  file itself such that it would display the contents of the ftp directory?

  The directory is /var/ftp

  /var/ftp  has permission bits 755
  /var has permission bits 755

  Thanks!

  Best Regards,

  Carlo







  ---------------------------------------------------------------------
  The official User-To-User support forum of the Apache HTTP Server Project.
  See <URL:http://httpd.apache.org/userslist.html> for more info.
  To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
     "   from the digest: users-digest-unsubscribe@httpd.apache.org
  For additional commands, e-mail: users-help@httpd.apache.org

Re: [users@httpd] Make directory available via http

Posted by Alfredo Gómez Grande <ag...@agsoftware.net>.
Well, I guess if you don't have an index.ht* file then the directory
contents are displayed unless you have touched some of the original
configuration of Apache 2.0 (in referring to this version).

So I mean, that if you install apache and you set a directory below your web
root and this directory doesn't have an index file, then the ftp (based on
web or webfolders) are displayed.

Try it and tell me.


----- Original Message ----- 
From: Carlo Florendo
To: users@httpd.apache.org
Sent: Thursday, July 31, 2003 10:59 AM
Subject: [users@httpd] Make directory available via http


Hello,

I want my ftp directory to be viewable via http.  How is this possible under
apache?

I've setup a virtual host that points to my ftp directory.  When I view the
ftp site through my browser, I get a forbidden error.
It says that either the directory is read protected or I don't have an index
file.  Is it possible for apache to generate the index
file itself such that it would display the contents of the ftp directory?

The directory is /var/ftp

/var/ftp  has permission bits 755
/var has permission bits 755

Thanks!

Best Regards,

Carlo







---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org

[users@httpd] System shutdown all the time

Posted by Alfredo Gómez Grande <ag...@agsoftware.net>.
Apache2  is shutting down my computer at least twice a day. Two possible
causes:

I configured (in Windows) the Apache service to restart on every faliure.
Maybe the problem is due to this.

Or, I'm suffering a D.O.S (Denial of Service) attack, which consecuences I
don't know.

But the most worriying stuff is when the system turns on, after a scandisk,
it says: "Windows has recovered from a serious crash", and the reporting
stuff to Microsoft begins. So I'm worried because I need something reliable
and stable.

¿Do I leave the service as it was by default=no action on faliure?
¿Is there any other problem of the same nature reported by other user?

My system is Windows XP Home totally parched.

Cheers
Alfredo Gómez