I have include files located on the root directory which are being successfully used by .shtml pages also in the root directory. However I have one .shtml page which must be located in a password protected sub directory that also uses the same include files. On that page I can change the path to the include file so that the page finds the include file, but the include file itself can not find the graphic images contained in it because the paths to these images are now different - since the page using it is in a sub directory.
I have tried <!--#include virtual="/header.inc" --> for example. Text in the include file displays fine, but the include file displays no graphics. If I change the paths to images indicated in the include file so that they display for the .shtml page in the sub directory, the graphics no longer display for all the other pages.
HELP
Is there any way to fix this problem?
Your answer would be MUCH appreciated.
I have tried <!--#include virtual="/header.inc" --> for example. Text in the include file displays fine, but the include file displays no graphics. If I change the paths to images indicated in the include file so that they display for the .shtml page in the sub directory, the graphics no longer display for all the other pages.
HELP
Is there any way to fix this problem?
Your answer would be MUCH appreciated.