Technical
Public forum
Unmoderated forum

Forum administrated by moderatoruk
The place for beginners and experts.
Lost in HTML tags or in JavaScript functions? Just send an SOS to the Webmaster Technical forum! Genius author of a killer web-script? Share it with other Webmasters here!
New messages 1
Total messages 6603
Subject RE: how to create an index

Author:  brisray
Date:    22-07-2007 04:48

The first is simple to do, just delete or rename index.html

The default behaviour of the web server software is, if just a directory is asked for in the address bar, to look for the file index.html and in the case of Lycos index.php, if it can find the file in the directory then it displays it, if it can't then it just displays a list of files in the directory. See http://members.lycos.co.uk/brisray/test/ for how the directory listing looks.

I have no problems saving mp, zip or any other kind of files using either "Save as..." or "save target as...." from my site.

I've just looked at your HTML and all your problems are because of a misformed tag. Change the line

<TITLE>Index of /mombasaruins/TITLE>

to

<TITLE>Index of /mombasaruins</TITLE>

- notice the missing "less than" tag delimiter in ?

What is happening is that as the browser can't find the delimiter it thinks the whole of the page is the title and not displaying anything else. Unless you have a special need to show the file sizes etc. there is no need to code for the file listing.

Ray






    Subject Author Date
how to create an index  
xianoa 22-07-2007 03:48
RE: how to create an index  
brisray 22-07-2007 04:48

Subject:

Message:

Include original message   Cancel