[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: How to make files available for download via HTTP



-----BEGIN PGP SIGNED MESSAGE-----

On Sun, 3 Oct 1999, Kristopher Johnson wrote:

> I currently have a couple of directories of files available for
> download via anonymous FTP.  Is there some easy way to get Apache
> or Zope to make these files available via HTTP?
> 
> (I've tried searching the Apache and Zope docs, but it looks like
> I'll need to read *everything* to get a handle on it.  This seems
> like a simple and common operation, so I hope someone can give me
> a hint.)

One way would be to put a symlink from somewhere in the Apache/Zope
directory to the proper dir in the FTP area. Depending on your
configuration files, this may or may not work.

Otherwise, for Apache you could modify the access.conf to add the proper
directory, something like this. http://yourhost.example.com/ftp would then
send you to /home/ftp/anonymous

  Alias /ftp /home/ftp/anonymous
  <Directory /home/ftp/anonymous>
      AllowOverride None
      Options Indexes SymLinksIfOwnerMatch

      order allow,deny
      allow from all
  </Directory>


- -- 
  finger for PGP public key.

-----BEGIN PGP SIGNATURE-----
Version: 2.6.3ia
Charset: noconv

iQCVAwUBN/gr1r7M/9WKZLW5AQHIlAP/da7FCfS8ES0SVH0r57Qxi3EOOTrF39v8
F+YRNuw/FF4MplFO8hngvcye7OAseSCfAVoowTR41lC7+ViVoyDmtO4wSTlFofZG
ed4PgZFZWun28skTQztAYFVzwhznEm/xM0Lp5Ny2RU8fuOl3uU1dtN56Pj4Wo5jA
5GxX+BzEOHU=
=lDTU
-----END PGP SIGNATURE-----


Reply to: