Re: [users@httpd] ftp via http !

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

 



Bandu Joshi wrote:

Hi All,

I am new to apache. I have setup apache which is running fine and I would like users to see directory lisitng & download the files from home directory using http://my-server/username/

I searced on google and apche faq and tried setting UserDir as per instructions but when I do http://my-server/username/ I get error "The requested URL /username/ was not found on this server"

Basically I want user should be able to see directory list after they access http://my-server/username/ and download the files.

Create a virtual host as shown below. It should work this way:

<VirtualHost *:80>
   ServerName my-server
   DocumentRoot location_of_where_the_files_are_that_you_want_to_show
   Options +Indexes
   IndexOptions FancyIndexing
</VirtualHost>

---------------------------------------------------------------------
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@xxxxxxxxxxxxxxxx
  "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux