hello everyone,
please really need your help. The problem is simple - my SSI code, which I implemented into the .html file doesn't work. I put this line:
where LoginForm.shtml is a file in the same directory.
I've also read that I need to turn on the SSI in the httpd.conf file. So I think I did that. Here is what I did:
1. Added "Includes" into the Option line - both in the <Directory/> and in the <Directory "/Library/WebServer/Documents">
2. Uncommented 2 lines "AddType text/html .shtml" and "AddOutputFilter INCLUDES .shtml"
So I thought after that everything would work just fine. However it wasn't happened
I then read lots of stuff in the net which was very different from one to another resource, I've read the Apache official documentation - everything was right, but nothing worked. I then added in the in the <Directory "/Library/WebServer/Documents"> 2 lines - "AddType text/html .shtml" and "AddHandler server-parsed .shtml".
Nothing works though. Please help me to solve this issue. Dunno what to do else.
My config - Apache 2.2 running on Mac OS X 10.5.6, MySQL 5, PHP 5
Any help would be highly appreciated!!!
P.S. Here's my httpd.conf file.
please really need your help. The problem is simple - my SSI code, which I implemented into the .html file doesn't work. I put this line:
HTML:
<!--#include file="LoginForm.shtml" -->
where LoginForm.shtml is a file in the same directory.
I've also read that I need to turn on the SSI in the httpd.conf file. So I think I did that. Here is what I did:
1. Added "Includes" into the Option line - both in the <Directory/> and in the <Directory "/Library/WebServer/Documents">
2. Uncommented 2 lines "AddType text/html .shtml" and "AddOutputFilter INCLUDES .shtml"
So I thought after that everything would work just fine. However it wasn't happened
Nothing works though. Please help me to solve this issue. Dunno what to do else.
My config - Apache 2.2 running on Mac OS X 10.5.6, MySQL 5, PHP 5
Any help would be highly appreciated!!!
P.S. Here's my httpd.conf file.