simple html question

Mark J. Dulcey mark at buttery.org
Mon Oct 16 11:34:54 EDT 2006


Stephen Adler wrote:
> Guys,
> 
> What's the html tag sequence to make a directory public. I want to setup 
> some files in
> a directory on my system so that people can down load them.

There is no HTML sequence to do that. You can do it in one of two ways:

1. Some web servers will show a directory listing if you point them at a 
directory with no file named index.html or any other default page name 
that the web server uses. On an Apache server, this will be true if your 
server configuration includes the Indexes option, and the default file 
names are listed under a tag DirectoryIndex in httpd.conf. So a URL like 
http://www.myserver.com/mydirectory/ would work.

2. You can make a web page containing links to every file that you want 
people to be able to download. If you go this route, you have to update 
the page every time you add or delete a file.

-- 
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.




More information about the Discuss mailing list