Jump to content
Sign in to follow this  
Spinland

Server Side Includes?

Recommended Posts

Are Server Side Include Directives (e.g.

><!--#include virtual="insertthisfile.html" --> 

) supported, or should I just use PHP?

 

Thanks!

Share this post


Link to post
Share on other sites

Bruce

 

I have used an include as discussed above, but the seerver ignores me!

 

<!--#include virtual="MainMenu.shtml" -->

 

the above mentioned file is sitting in the root, and same directory as the host file.

 

Is there something else I need to set to make it work?

 

Regards

Share this post


Link to post
Share on other sites

You may need to add the following to your .htaccess file to have the server implement them.

 

>AddType text/html .shtml
AddOutputFilter INCLUDES .shtml

 

...or you can rename your include file with a .html extension instead of .shtml

Share this post


Link to post
Share on other sites

Hello,

 

 

If you are still having issues, We advise you to post a ticket to our help desk, with all necessary details so that we can recreate the issue from our end and check this further.

 

 

Thank you

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...