|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
#1 |
|
Member (9 bit)
Join Date: May 1999
Location: Juana Diaz, PR
Posts: 378
|
Recently I installed Windows XP Home in my system and with it Internet Explorer 6.0. I am having trouble displaying SHTML files locally recently. These SHTML files are just normal HTML with some special tags that are parsed by the web server before being sent to the client.
I design web pages and I need the ability to display pages with this extension. The browser displays them as text files, not as HTML. I tried creating a new file type with the shtml extension and defining it as a HTML file but the browser still displays it as plain text. Many moons ago I had the same problem in Windows 95 and a prior (3.0? 4.0?) IE version and creating a new file type solved the problem. Any suggestions? [P.S. I know that SSI tags won't work locally]
__________________
Thanks. Luis... |
|
|
|
|
|
#2 |
|
Member (13 bit)
|
You'll have to have the server and whatever scripting engines you need running locally I would assume.
|
|
|
|
|
|
#3 |
|
Member (9 bit)
Join Date: May 1999
Location: Juana Diaz, PR
Posts: 378
|
I didn't have any server installed before. I don't need to parse the SSI tags, just need to view the page as a web page in the browser. Some of these SHTML files are framesets and due to this problem I can't test the pages locally.
|
|
|
|
|
|
#4 |
|
Staff
Premium Member
Join Date: Jul 1999
Location: Arlington, TN
Posts: 5,538
|
An .shtml file is basically an .html file that has already been parsed. I just tried an .shtml page in my browser. What I did was File/Open/All Types/ click on .shtml file. and the openwith box pops up. Then I told it to open with IE and it worked fine. I am using IE 5.5 on W2K.
__________________
Want to Make $$$$ with your Computer? No Risk! Simply press shift-4 four times in a row |
|
|
|
|
|
#5 |
|
Member (12 bit)
Join Date: Jul 2001
Location: Philadelphia, Pennsylvania
Posts: 2,067
|
I'm not completly sure about this but I would think if you download the .htm
file then you should be able to either open it and view it with explorer or open,view and edit in your hypertext editor. |
|
|
|
|
|
#6 |
|
Member (6 bit)
|
SSI HTM or SHTML!
Hi, I know it's a while since you posted, but you might find this useful. I started using SSI back in march 2001. I used SHTML files in order to do this but later learned that search engines might penalise listings because of the dynamic properties that SHTML has to offer. I needed to use SSI within htm or HTML files. After scouring formums and other websites, someone gave the info I much needed.
Here's how. Upload an .htaccess file to your websites route dir with the following contents; AddType text/html .htm AddHandler server-parsed .htm Create it in a text file and then rename it to .htaccess. You only need to have it in your route dir for it to work sitewide. The SSI tag looks like this If you prefer to use the extension html, just swap references to htm to html.
|
|
|
|
|
|
#7 |
|
Member (9 bit)
Join Date: May 1999
Location: Juana Diaz, PR
Posts: 378
|
You guys are drifting from the subject or don't fully understand my question. I am not downloading from a server. I am working with the file locally and need to display it as a web page, not as a text document. The browser is not considering it a web page for some reason.
|
|
|
|
|
|
#8 |
|
Member (12 bit)
Join Date: Jul 2001
Location: Philadelphia, Pennsylvania
Posts: 2,067
|
I know if you create a page in word and save it with the extensionn .htm
your in business. This applies to text documents. |
|
|
|
|
|
#9 |
|
Member (9 bit)
Join Date: May 1999
Location: Juana Diaz, PR
Posts: 378
|
Listen everyone.
The problem is not with creating pages. The problem is that Internet Explorer 6.0 in Windows XP Home is not recognizing the shtml extension as a web page when the page is viewed locally. I develop web sites and some pages include SSI and for that reason must have the shtml extension. Before I upload to the server I have to test locally and I am not able to do so because the browser will just display the HTML code as if it was a text file. |
|
|
|
|
|
#10 |
|
Member (12 bit)
Join Date: Jul 2001
Location: Philadelphia, Pennsylvania
Posts: 2,067
|
Download Arachnifilia the free shareware program this will allow you to publish and view web pages also it give you the option to check the view in different browsers, by giving you the option of choosing which browser to open the file with. Sorry I can't help you with explorer 6.0 though. a lot of people
are having different problems with this particular browser. All I can say about that is right click on the explorer icon and check all the properties. |
|
|
|
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|