Reply to Re: Indexing of files

Your name:

Reply:


Posted by Brian Cryer on 03/10/06 16:40

"RaYmOnD" <raymond(@)raymondvalk.nl> wrote in message
news:44107d2e$0$11075$e4fe514c@news.xs4all.nl...
> Hi all,
>
> I'm busy to make a small webdesign for a friend of me. He has got a very
> small Apache server running and asked me to make a website. If I make a
> subdirectory in the html root, example :
> <site>.com/test and I don't put an index.html file, you cannot see the
> documents in the folder, I want to use it as a download folder.
>
> Is there a small application which makes a professional look alike index
> file which I can use as download page ? Or is there a simple HTML code for
> it ?
> P.S. On this small server it is not possible to run PHP scripts just HTML
>
> Thanks in advance,

If I correctly understand what you are saying, you want to be able to place
files in your folder "test" and then be able to download them.

Two approaches (probably more):

1. Create an index file and link to each of them. That way you can include
any description along with each file.

2. Create the file (text) .htaccess in the folder and put the line:
Options +Indexes
in it. That will tell apache to present it as a file listing.

Hope that helps and I've not totally misunderstood what you are after.
--
Brian Cryer
www.cryer.co.uk/brian

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация