include virtual with parent

In a .shtml file in a subfolder, I can't get the following to work:

<!--#include virtual="../includes/wftop.htm"-->

If I were to replace it with an absolute path, what would that be? Will it work?

Is the only solution copying the whole includes again within the subfolder?

Thanks,
Sanjay
 
Have you turned on Server Side Includes from Web Options?

I don't know if you can have ".." in include statements. Try entering the absolute path. format is as follows:

D:\hshome\ftproot\domainame.com\

ftproot is your ftp username
 
Yash said:
Have you turned on Server Side Includes from Web Options?

I don't know if you can have ".." in include statements. Try entering the absolute path. format is as follows:

D:\hshome\ftproot\domainame.com\

ftproot is your ftp username

You are right. ".." does not work. But, I could make it to work by giving "/includes/" which is within domainname.com.

Thanks,
Sanjay
 
Back
Top