Reply to Re: why won't my image appear?

Your name:

Reply:


Posted by Jim Moe on 02/06/45 11:44

John Salerno wrote:
> Here's the link, if it helps: http://python.johnjsalerno.com/
>
> I have the Python logo set at the top of the page, but the alternate
> text gets displayed instead.
>
src="../icons/python-logo.gif"
Yes, it is because you are in a subdomain. Its DocumentRoot (using
apache terminology) does not share the same space as the main domain. You
are asking to go to a directory that is higher (more "rooty", a
super-root?) than the root directory of the subdomain.

1. Create an icons directory from the subdomain's DocumentRoot, place the
image there
2. Place the image in the subdomain's DocumentRoot
3. Use a fully qualified URL as noted by others
4. Check your server's docs; there may be a way to allow the access anyway

--
jmm (hyphen) list (at) sohnen-moe (dot) com
(Remove .AXSPAMGN for email)

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация