html - text file question

Hi - not sure if this is the correct forum but maybe you can help all the same.
I have an ascii file on my server that I log events to..

I have samba and apache running on this server also - although I am not currently using them and have just started them up. They both appear fine so far.

I want to display a basic html page that will display the contents of the ascii file and refresh every 60 seconds...
Can anyone get me started? I have little experience of HTML but am okay on shell scripting etc...

I think you can do this using

shell scripting and html

In html you can use the meta tag for refreshing the page

Hope this helps

Regards,
Jags

Can anyone help with some sample html for this?

dynamically prepare 1.html every 60 seconds with latest body content of 1.html

1.html should look something like this

<html>
<head><title>....</title>
<meta http-equiv="refresh" content="60";
URL=".xyz Domain Names | Join Generation XYZ >
</head>
<body>

Here will come the file content prepared dynamically

</body>
</html>

regards,
rishi

Okay - is there any way to tell the html page when it refreshes to re-read the entries from the log file?

I suppose that the update the html content with a script will do it I was just wodnering if there was anything a little bit more intelligent to do with this here...

Using server scripts to create the page by reading from a file what you require can be done, now how you will read the log file depends which scripting language you are using,it could be either asp,php or whatever :stuck_out_tongue:

rishi