I'm trying to use absolute link for an IMG tag such as
<img alt="logo" src="/jpegs/banner_TopLeft_Left.jpg" style="width: 215px; height: 85px" />
in one of my pages.
Notice especially the leading '/' at the src="
When the page is stored in the root directory - the image is displayed correctly.
When the page is stored in a subfolder - I only see the alternate text.
When I put the page on my site server it works perfectly.
Where can I instruct easyphp to relate to this situation correctly ?
Thanks, Ohad.
I'm a newbie to easyphp so maybe I'm just missing something out.
Here are the steps to reproduce :
1.Create an apache 2.2.3 alias in some directory (I'll refer to it as the main directory in the following steps)
2.Create a 'jpegs' directory in the main directory.
3.Put an image in the jpegs directory.
4.Create a 'pages' directory in the main directory.
5.Create a simple html page with an IMG tag directing it to the image in the jpegs directory and place it in the pages directory.
6.Now, try to activate this page in through easy PHP
Thanks again, Ohad.
Edited 1 time(s). Last edit at 11/05/2008 02:09PM by ohadninio.