D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Error 404

 

On 25/04/2010 17:48, Neil Winchurst wrote:
Julian Hall wrote:

Hi Neil,

It depends on the webhost.  Mine does the same.  Some allow directory
browsing of files, others don't.  In common with yours mine doesn't.
Unless there is an index.html (or other html file) pointing to the
pictures etc it will give an error 404.  I presume it's a security feature.

I find it annoying because if I have any pictures I want to share with
my brother in London I haev to upload them *and* create an html file
pointign to them, then send him a link to the HTML file.

Don't worry, it's not you having a senior moment.

Kind regards,

Julian

Thanks, I feel a lot better. I will have a go at my web host first. But,
meanwhile, what sort of HTML file do I need to create? Perhaps there is
a simple layout which I could use for every situation like this.

Thanks

Neil

Some thing like

<html>
<head>
<title>My Pics</title>
</head>
<body>
<img src="pic1.jpg">
</body>
</html>

If you want it a bit more complicated you can use thumbnails too, but for simply listing the pics the above should work.

Have a look at http://www.kaotic.co.uk/family/winter2010 for an example of what I do :)

Kind regards,

Julian

--
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/linux_adm/list-faq.html