KevinReichard
07-17-2002, 12:53 PM
These talkbacks are in response to the article, Getting Started with Apache 1.3 (http://www.serverwatch.com/stypes/servers/article.php/1130981).
Dirk Peters writes:
Okay, so I've downloaded and installed Apache. In the config file, I uncommented the lines that should enable ssi and then I run Apache. Then I type in 127.0.0.1 in IE and it takes me to index.html in my htdocs dir in the apache dir, all fine.
But then when i go on, and come to the shtml files, they won't include the linkbar. I use the fllwing command to include a file:
#include virtual="links.html" with behind, but the entire command doesn't show properly here....
so, what am I doing wrong here. I need to get ssi working offline so I can work on my webpage without having to be online all the time.
BTW, my includes work when I upload them. Somebody please help me out.
Alan Knight responds:
Hi, I have the same problem, can't get the SSI to work on my home PC before I upload it onto the web site.
It did improve a bit if you first name the file with the SSI as *.shtml , and then modifiy the 'httpd.conf' file in the '\conf' directory. Open it up and look for...
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
Yours might be commented out, so uncomment them. This works a bit but now I get a 500 Internal Failure error. Still working on it and searching the web, but still no answer :(
Dirk Peters writes:
Okay, so I've downloaded and installed Apache. In the config file, I uncommented the lines that should enable ssi and then I run Apache. Then I type in 127.0.0.1 in IE and it takes me to index.html in my htdocs dir in the apache dir, all fine.
But then when i go on, and come to the shtml files, they won't include the linkbar. I use the fllwing command to include a file:
#include virtual="links.html" with behind, but the entire command doesn't show properly here....
so, what am I doing wrong here. I need to get ssi working offline so I can work on my webpage without having to be online all the time.
BTW, my includes work when I upload them. Somebody please help me out.
Alan Knight responds:
Hi, I have the same problem, can't get the SSI to work on my home PC before I upload it onto the web site.
It did improve a bit if you first name the file with the SSI as *.shtml , and then modifiy the 'httpd.conf' file in the '\conf' directory. Open it up and look for...
# To use server-parsed HTML files
#
AddType text/html .shtml
AddHandler server-parsed .shtml
Yours might be commented out, so uncomment them. This works a bit but now I get a 500 Internal Failure error. Still working on it and searching the web, but still no answer :(