471,627 Members | 2,347 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,627 software developers and data experts.

HTML Includes on Virtual servers

I have several virtual sites on my web space (commercial hosting with cPanel control).

Is there a method to use a single file from my base server to include files on the virtual domains?

example: <!--#include virtual="/file.html" --> works in the base directory.

but when I try to include on virtual dir, I get an error message [an error occurred while processing this directive]

I tried to make the path from the home server,
<!--#include virtual="/home/xxx/public_home/file.html" -->and received same error.

Id there a way to work around the base server and virtual server?

Thanks
Oct 2 '07 #1
0 853

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

25 posts views Thread by Martin Walke | last post: by
7 posts views Thread by Sherry Littletree | last post: by
1 post views Thread by Jay | last post: by
reply views Thread by Lasse Nilsson | last post: by
6 posts views Thread by William F. Zachmann | last post: by
3 posts views Thread by DougS | last post: by
59 posts views Thread by Lennart Björk | last post: by
3 posts views Thread by Jeff | last post: by
reply views Thread by leo001 | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.