So, I've been creating a new Web site. In one section of it, I have a table of contents div that uses a list of pages in that section. I would like to have the table of contents imported from an html file in the same directory. You can look at a page here to see an example of the TOC.
I use GoDaddy for hosting and have a Windows-based (Server 2003?) server. I am not using ASP (and I really don't know anything about it), though I could enable it if necessary. I also use Dreamweaver to develop the site. (I have recently learned how valuable the code view is, and I now spend most of my time using it in that mode.) Dreamweaver's help shows how to do a server-side include and I tried that. It worked great in Dreamweaver's design mode, but it doesn't work at all on the actual site. I was using a File include since my understanding is that a virtual include doesn't work on Windows. I actually tried both, with the same results.
For now, I just have the TOC div duplicated in each page. That works, but I have to update each of them separately. If I could use an include with the html file, it would make maintenance much simpler.
So, does anybody know how to get this to work on GoDaddy with Windows hosting? GoDaddy support won't help. Presumably, I need to set some option somewhere in the hosting options, but I can't find it. When I emailed support, I was hoping that they would tell me what to do, or tell me that they had disabled SSI support. I didn't get anything other than a "we can't help with html coding" response.
Also, I'm thinking of switching to a Linux-based server. It seems that would be possible, but I don't know how long the site would be down or what other effects that might have. Has anybody ever made the switch on GoDaddy?
I've had another Web site for about 12 years, but I never did any real development work before this, so I'm kind of a noob.
Thanks,
Tim
I use GoDaddy for hosting and have a Windows-based (Server 2003?) server. I am not using ASP (and I really don't know anything about it), though I could enable it if necessary. I also use Dreamweaver to develop the site. (I have recently learned how valuable the code view is, and I now spend most of my time using it in that mode.) Dreamweaver's help shows how to do a server-side include and I tried that. It worked great in Dreamweaver's design mode, but it doesn't work at all on the actual site. I was using a File include since my understanding is that a virtual include doesn't work on Windows. I actually tried both, with the same results.
For now, I just have the TOC div duplicated in each page. That works, but I have to update each of them separately. If I could use an include with the html file, it would make maintenance much simpler.
So, does anybody know how to get this to work on GoDaddy with Windows hosting? GoDaddy support won't help. Presumably, I need to set some option somewhere in the hosting options, but I can't find it. When I emailed support, I was hoping that they would tell me what to do, or tell me that they had disabled SSI support. I didn't get anything other than a "we can't help with html coding" response.
Also, I'm thinking of switching to a Linux-based server. It seems that would be possible, but I don't know how long the site would be down or what other effects that might have. Has anybody ever made the switch on GoDaddy?
I've had another Web site for about 12 years, but I never did any real development work before this, so I'm kind of a noob.
Thanks,
Tim