| feploand@yahoo.co.uk 2006-08-18, 1:24 am |
| Hi all,
As a webdevelopper, I've been chewing a while (perhaps a bit too long)
on this one:
In my page 'container_page.shtml', I would like to display the content
of another page called index.php.
'container_page.shtml' is paced on the root of my website.
'index.php' is located in a folder named 'trunk'. (And 'trunk' is also
in root)
Now, executing
<!--#include file="trunk/index.php" --> from within
'container_page.shtml'
will find the file and run it...BUT all the links have been chipped
from 'www.mysite.com/trunk/imagefile.gif' to
'www.mysite.com/imagefile.gif'
This means that no images are showing, and other links are not working.
By the way:
<!--#include virtual="/trunk/index.php" --> gives me exactly the same
result. The page is showing up but with wrong links.
More config info: Server is Linux - Apache - SSL Tomcat 4
Q: What is wrong? and how to fix? perhaps i'm a bit tired and should
try more tomorrow....
I'm open to other ideas to include content in my page, as long as I do
not have to use frames....
All ideas are appreciated,
Jill
|