I have just completed a full Suse 9.1 install. I am using
php4-4.3.4-43.11 and apache2-2.0.49-27.5.


Right now I have apache running and php seemes to be fine. The problem
I am having is I copied my source code over tot he htdocs directory
exactly the way it was in my old configuration in Redhat but now image
paths seem to be screwed up.

Example Website A in a directory A
Website B in a directory B


I point my browser to the index.html page for B but it shows me images
from A (that have the same name like logo, news...etc)


What I think is happening is I have a page in a php directory in the
root of all of my sites that has a page called page.inc. It sets up
the style, shape and look of my site. I include this at the top of all
of my pages and just echo the content in a table data cell.

Here is where I see the problem, when I go to index.html in the root
of site B it includes (php/page.inc) at the top which inside of
page.inc the image paths are src=../images/logo.gif
so I believe that the path of my images are currently not relative to
page.inc now but the index.html which is in the root so it is telling
it to back out of site B and go into A's image folder. Am I making
sense? I hope so. Hard to verbalize.

So is there a setting some where I missed to fix this path situation?
Because if not, it means every single link and img path on over a
dozen sites will have to be changed.


Thanks for any help.


-- 
Remember happiness does not depend on who 
you are or what you have, it depends solely on
what you think. - Dale Carnegie

Reply via email to