in reply to Links to web page?

What you want sounds like the functionality of the Apache module mod_autoindex.  So, in case you're using that web server, it's just a matter of configuration...

Update: That said, if your primary intention isn't just to get it working, but rather to learn some CGI/HTML programming, you could of course also write such a module yourself in Perl... Just say so, and I'm sure the monks will be happy to help :)

Replies are listed 'Best First'.
Re^2: Links to web page?
by oh5yw (Novice) on Dec 03, 2008 at 16:33 UTC
    I dont understand that link at all..sorry... Kari

      Are you using Apache?  If so, mod_autoindex can give you automatically generated file listings (HTML pages) of directories the server is configured to access — in case no other explicit index (index.html) is found for the respective directory. Files will typically appear as clickable links, but you can flexibly configure the appearance in many ways (file sorting, with icons, descriptions, etc.).

      To get you started, here's a sample configuration snippet (incomplete) for your httpd.conf:

      LoadModule autoindex_module modules/mod_autoindex.so LoadModule alias_module modules/mod_alias.so Alias /chat /path/to/directory/chat # ...so you can access the chat directory via http://servername/chat <Directory /path/to/directory/chat> Options +Indexes IndexOptions FancyIndexing # ... </Directory>
        Thank you but I use webhotel so I have no acces to server files.... Can it be done with CGI-script? kari