I am having trouble getting server side includes on my apache webserver to work. I check out the information about ssi and followed the directions and made the test.shtml file. But, it does not work. Do any of you have any suggestions or something that could help me out, i would really appreciate it. Thanks.
Thank you for the urls. When i look at the test.shtml file i just see nothing exept the html, here it is: http://dreamer.spacecoast.com/test.shtml No, i did not look at those sites, but i will.
Thanks!
My guess is that your host does not allow you to use SSI or if it does it isn't enabled by default (I see no reason why if they do allow you to use SSI).
Create a file called .htaccess (You need the . ) in the root of your website and add the following lines:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
AddType text/html .shtml
AddHandler server-parsed .shtml
[/code]
now try the page again, if it still doesn't work then contact your host and ask them if they allow SSI (They might still allow you, but not all hosts allow you to use the .htaccess file).
------------------
Karl Austin KDA Web Services
"Everyone has a photographic memory. Some just don't have film."
Thanks. I am the admin of my server. I will create the .htaccess file. Thank you!
<BLOCKQUOTE><font size="1" face="Verdana, Arial">quote/font><HR>Originally posted by Karl: My guess is that your host does not allow you to use SSI or if it does it isn't enabled by default (I see no reason why if they do allow you to use SSI).
Create a file called .htaccess (You need the . ) in the root of your website and add the following lines:
<BLOCKQUOTE><font size="1" face="Verdana, Arial">code/font><HR><pre>
AddType text/html .shtml
AddHandler server-parsed .shtml
[/code]
now try the page again, if it still doesn't work then contact your host and ask them if they allow SSI (They might still allow you, but not all hosts allow you to use the .htaccess file).
Bookmarks