[wellylug] Configuring web site files to display images correctly
John Durham
johndurh at spunge.org
Wed Dec 6 09:55:58 NZDT 2006
Cliff Pratt wrote:
> John Durham wrote:
>> After trying to get images to display from my server for a couple of
>> days, it seems I must be missing something important. Whether it is in
>> the server configuration or the html code is hard to say. I've compared
>> my html with what appeared on Jethro's website (it appears to be
>> structurally similar and correct), I'm now wondering if there are any
>> other config files unknown to me that require editing to get the site to
>> find its images when visited by the public?
>>
>> Below is a sample of the html that contains an image, but doesn't
>> display it:
>> <center><br><img src="/images/ruler.gif" height=31 width=500
>> alt="ruler">
>>
>> This could be a difference between configuration of the web files for
>> use on a Ubuntu Linux server and the previous (windows server). What
>> could I be missing, guys?
> >
> is the /images directory located in the document root directory? In
> other words, if your document root is /var/www are the images in
> /var/www/images? If not you will have to use a <directory> or
> <location> stanza to tell the web server where the images directory
> exists and where it fits into the hierarchy.
>
The images directory is at /var/www/modecideas.com/images
> It would be useful if you could show us the site definitions from your
> Apache (I presume) conf.
Just tried searching for the .conf file. The search function in Ubuntu
seems limited to the currently selected directory. A global search would
be far more effective if there is one.
>
> Cheers,
>
> Cliff
--
Regards, John Durham <http://modecideas.com/contact.html?sig>
More information about the wellylug
mailing list