Server-Side Includes (shtml files) do not work
30-10-2008, 17:00
|
#1
|
|
cf.member
Join Date: Jan 2007
Posts: 5
|
Server-Side Includes (shtml files) do not work
I have a website which uses my virgin media webspace (well, ntlworld as it's been around so long), which can be seen at www.xch180.co.uk.
On here, in a test area (add index-test.html to the domain) I have .shtml files used to permit me to include html inside html using :-
<!--#include file="file.htm" -->
However, they don't work, and all files that are .shtml appear as text.
Does VM not support SSI at all, or can I get it activated and, if so, how?
Note: I have already tried adding an HTML doctype to the head of the shtml file.
TIA
|
|
|
30-10-2008, 17:02
|
#2
|
|
Cable Forum Team
Join Date: Jun 2003
Location: Sarf east Luhndun.
Age: 38
Services: Virgin for TV, BT for phone and Be* for Broadband.
Posts: 20,916
|
Re: Server-Side Includes (shtml files) do not work
Looks like they don't, on Residential connections.
__________________
Just to make it clear if a post is bold and is from a team member, it's a moderating decision. If it's not bold or not from a team member, it's not.
Quote:
|
I like to think that tonight was Jesus punishing James Cameron for his role in popularizing "My Heart Will Go On."
|
Random text found online.
|
|
|
30-10-2008, 18:34
|
#3
|
|
"Why I oughta..."
Join Date: Jun 2006
Location: Cambridge
Services: Sky TV, VM TV, 10meg bb, tel, and a lobster (but the lobster died).
Posts: 3,693
|
Re: Server-Side Includes (shtml files) do not work
The free web space (all 55 meg of it) is very basic. But it is free.
|
|
|
31-10-2008, 07:57
|
#4
|
|
cf.member
Join Date: Jan 2007
Posts: 5
|
Re: Server-Side Includes (shtml files) do not work
Quote:
Originally Posted by TheNorm
The free web space (all 55 meg of it) is very basic. But it is free.
|
Only in the sense that it is included in the monthly cost of the broadband :-)
So, if I wanted to contact VM to ask about it, is the only P-O-C the broadband helpline number, the 0906 one ?
Incidentally, http://help2.virginmedia.com/help/ge..._pwp_tools_ssi implies it works.
|
|
|
31-10-2008, 13:46
|
#5
|
|
"Why I oughta..."
Join Date: Jun 2006
Location: Cambridge
Services: Sky TV, VM TV, 10meg bb, tel, and a lobster (but the lobster died).
Posts: 3,693
|
Re: Server-Side Includes (shtml files) do not work
Quote:
Originally Posted by DartGuru
|
Very interesting! But did you notice that these pages seem to be specific for "blueyonder" users, e.g.:
Quote:
|
Hostname: ftp.pwp.blueyonder.co.uk
|
(from http://help2.virginmedia.com/help/ge...p_building_ftp)
My area is ex-NTL (was Cambridge Cable), and I've never been able to get anything but plain vanilla HTML to work on my "free" webspace.
Can anyone shed any light on this?
|
|
|
10-11-2008, 15:12
|
#6
|
|
cf.member
Join Date: Jan 2007
Posts: 5
|
Re: Server-Side Includes (shtml files) do not work
I guess that's a "no" then.
|
|
|
20-11-2008, 12:51
|
#7
|
|
cf.member
Join Date: Nov 2008
Posts: 3
|
Re: Server-Side Includes (shtml files) do not work
You can put what you want to include in a java script, then use the script instead of the include. This was done a lot in the days of 28k modems, just to save download time for anything repeated through a site.
|
|
|
29-11-2008, 10:47
|
#9
|
|
"Why I oughta..."
Join Date: Jun 2006
Location: Cambridge
Services: Sky TV, VM TV, 10meg bb, tel, and a lobster (but the lobster died).
Posts: 3,693
|
Re: Server-Side Includes (shtml files) do not work
Quote:
Originally Posted by DartGuru
...I'm very confused now.
|
As in post #5, this seems to be restricted to those who are ex-blueyonder.
|
|
|
29-11-2008, 17:00
|
#10
|
|
cf.member
Join Date: Mar 2007
Posts: 89
|
Re: Server-Side Includes (shtml files) do not work
Quote:
Originally Posted by DartGuru
Does VM not support SSI at all, or can I get it activated and, if so, how?
|
A quick search of the VM webspace website and I found this :
http://www.virginmedia.com/customers...e-includes.php
__________________
m8internet.com
|
|
|
29-11-2008, 23:56
|
#11
|
|
cf.geek
Join Date: Jan 2008
Location: Sunny Cumbernauld
Services: 20Mb BB, phone
Posts: 651
|
Re: Server-Side Includes (shtml files) do not work
I think the mime type might be wrong on the server - I get text just loading the file using:
http://homepage.ntlworld.com/alan.go...testnews.shtml
But if I save it locally and open that it opens ok, though obviously saving it changed the meta data, Firefox just ignores the <!--#include file="file.htm" --> as any decent browser should.
I don't think it is an issue with ssi working on the server as the rest of the html should still display - something else is causing the browser(s) to think it is a plain text file.
Bear in mind I know almost nothing about web servers and html.
|
|
|
01-12-2008, 01:04
|
#12
|
|
cf.mega poster
Join Date: Mar 2004
Posts: 1,728
|
Re: Server-Side Includes (shtml files) do not work
As I understood it, ex-Telewest PWP supports a lot more tricks than ex-NTL homepage - only time will tell if they ever get merged into one, and which way the merge would go, though there would be fury from some ex-TW customers if they lost features they were using.
|
|
|
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT +1. The time now is 23:53.
|