HostNed Community

WEB HOSTING DISCUSSIONS => Linux Hosting => Topic started by: as3tree on January 29, 2010, 08:20:49 AM

Title: public folder
Post by: as3tree on January 29, 2010, 08:20:49 AM
In the past I was able to set up a public folder where by someone could download a file I had up loaded.

The folder I originally set up no longer works unless the person at the other end has FileZilla etc.

The files I upload are not important so I am happy for others to see them and download them and would prefer the receiver not to need download software to get them.

Help appreciated.
Title: Re: public folder
Post by: Dynaweb on January 30, 2010, 01:13:24 AM
"I am unable to do this any longer and I guess this is for security reasons. "

Yes, recently we made a change to our Linux servers that disabled the "Directory Index" for an increase in security.  Industry standard is now to have this ability to browse directories disabled by default.

As a solution, you can provide a link to your user to the exact file name like this:
http:// www. domain.com/userfiles/userfile.zip

instead of the old way of http:// www. domain.com/userfiles/ which used to display all the files therein.

If you wish to go back to the old way, there is good news.  HostNed allows you to change back to allow DirectoryIndex like this

Add or edit the .htaccess file in the directory you want the index list with:

Options +Indexes

Keep in mind that this works only on Linux servers, not Windows. 

I hope this helps you.
Title: Re: public folder
Post by: as3tree on January 30, 2010, 02:33:28 AM
Thanks.

I new there must be a way of doing it.
Title: Re: public folder
Post by: Dynaweb on January 30, 2010, 01:10:07 PM
Glad to help :)