[ubuntu-uk] Help please

Chris Fox chris at robotninja.net
Sun Jun 10 13:52:12 UTC 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 10/06/2012 14:44, John Davis wrote:
> Hi,
> 
> I am sorry this is not Ubuntu related but could any offer some help
> for a novice web site builder ?
> 
> 
> I have made a web site with a main page, gallery page and an image
> folder.
> 
> When working in Notepad++ I have no problem opening the pages in a 
> browser but I am unsure of how to make sure they are all linked
> together and uploaded.
> 
> When I have looked on "local host" sometimes the photos have been 
> missing and I assume that file naming is to blame.
> 
> My question is how to name the files,
> 
> I assume opening page is index.html
> 
> 2 nd page is  gallery.htm
> 
> and photos  .images
> 
> 
> Can someone help me with this. Do I have to put all these files in
> a folder to upload.
> 
> I have bought loads of books but none cover this bit !
> 
> Many thanks
> 
> John
> 

Hi John,

Do you have an URL we can visit and check?

As you mentioned localhost, I'm assuming you're trying to view your
website on a web server (Apache, or similar) running on your own PC.
In that case, you'll need to copy all of the files into the
appropriate folder which Apache uses as it's main folder. For Apache
installed through the software centre in Ubuntu, this is /var/www/ but
other implementations may vary.

I'd also check that the names you've used in your HTML code is
correctly pointing to the files you're trying to reference. In
particular, take care of the file extensions - you've mentioned
"index.html" but "gallery.htm" (no 'l').

Good luck,
Chris


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.17 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk/UpowACgkQ/UgLKfoJxI4K9gCg1WkQKJyidF+naOiTq1C1+y1C
WRoAn15AqPPxrQeqXjqgqpWewH5GBejv
=iv/8
-----END PGP SIGNATURE-----



More information about the ubuntu-uk mailing list