...

View Full Version : How to save a file as *.shtml correctly



Jerome
08-10-2004, 01:40 PM
Hi,

When I safe index.html as index.shtml and upload it to my yahoo account it is safed as index.shtml.txt.

However, the server-side includes are working, but I can not rename the file index.shtml

Why is that, how do other people do this, what am I doing wrong?

The site is on an apache server and I have no control over the htaccess file

Thanks
Jerome

bcarl314
08-10-2004, 02:38 PM
Probably because windows likes to add .txt to everything. :mad:

Next time you save the file locally, instead of typing:

myfile.shtml

put quotes around it:

"myfile.shtml"

That usually overides this windows "feature".

Jerome
08-10-2004, 05:27 PM
Hi bcarl314,

Indeed between quotes gives a real *.shtml file, only it's not accepted at my account?!?

The list off supported mime-types from my account shows:
text/html htm html shtm shtml hhc hhk

The server-side include in the *.shtml file is just:
<!--#include file="test.htm"-->

When I save a *.html file as *.shtml, without using quotes, I can upload it, but then it's changed to *.shtml.txt. Then www.widgetdesign.com doesn't work, however without www it's working, I am flabbergasted......

I thought SSI was easy!

Thanks for Your time,
Jerome

Spookster
08-10-2004, 08:54 PM
What are you using to upload your files?

Jerome
08-11-2004, 12:20 PM
Spookster,

Thanks, I used an account upload service, with a proper ftp programm it's working.

Jerome



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum