View Full Version : How to save a file as *.shtml correctly
08-10-2004, 12:40 PM
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
08-10-2004, 01:38 PM
Probably because windows likes to add .txt to everything. :mad:
Next time you save the file locally, instead of typing:
put quotes around it:
That usually overides this windows "feature".
08-10-2004, 04:27 PM
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:
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,
08-10-2004, 07:54 PM
What are you using to upload your files?
08-11-2004, 11:20 AM
Thanks, I used an account upload service, with a proper ftp programm it's working.
Powered by vBulletin® Version 4.2.2 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.