I can't get my SSI script to work. Here are my configurations:
In the httpd.conf file:
<Directory "/usr/local/apache2/htdocs/site_templates/">
Options Includes
Options IncludesNOEXEC
</Directory>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
The shtml file is located in the /site_templates directory. The file being imported is /crs_desc/243desc.txt. The ssi command is:
<!--#include virtual="/crs_desc/%%course_desc%%" --> where %%course_desc%% is a place holder in my html file. This is being replaced in a cgi script. The actual html code in "view source" after the file is displayed is:
<!--#include virtual="/crs_desc/243desc.txt" -->
I have permissions set to 755 on the shtml file, though I think I really need less. Can anyone provide me with a little more insight? I've had text files work ok when imported into ssi documents so I know its not the text file extention.
Thanks.
Chris
In the httpd.conf file:
<Directory "/usr/local/apache2/htdocs/site_templates/">
Options Includes
Options IncludesNOEXEC
</Directory>
AddType text/html .shtml
AddOutputFilter INCLUDES .shtml
The shtml file is located in the /site_templates directory. The file being imported is /crs_desc/243desc.txt. The ssi command is:
<!--#include virtual="/crs_desc/%%course_desc%%" --> where %%course_desc%% is a place holder in my html file. This is being replaced in a cgi script. The actual html code in "view source" after the file is displayed is:
<!--#include virtual="/crs_desc/243desc.txt" -->
I have permissions set to 755 on the shtml file, though I think I really need less. Can anyone provide me with a little more insight? I've had text files work ok when imported into ssi documents so I know its not the text file extention.
Thanks.
Chris