в httpd.confпишу AddType text/html .html
AddHandler server-parsed .html<Directory "C:/home/LocalHost/public_html"> - директория где лежат файлы .tml
Options Indexes Includes
AllowOverride All
Order allow,deny
Allow from all
</Directory>в .html пишу <!--#include virtual="http://127.0.0.1/cgi-bin/2.pl" -->
при запуске выдает [an error occurred while processing this directive]
Скажите, что еще нужно указать, плз!!!!!!
>в httpd.conf
>
>пишу AddType text/html .html
>AddHandler server-parsed .html
>
><Directory "C:/home/LocalHost/public_html"> - директория где лежат файлы .tml
>Options Indexes Includes
>AllowOverride All
>Order allow,deny
>Allow from all
></Directory>
>
>в .html пишу <!--#include virtual="http://127.0.0.1/cgi-bin/2.pl" -->
>
>при запуске выдает [an error occurred while processing this directive]
>Скажите, что еще нужно указать, плз!!!!!!
В virtual попробуй оставить только
<!--#include virtual="/cgi-bin/2.pl" -->
Плюс - без ssi - скрипт у тебя отрабатывает нормально? то есть он работает при обращении к нему по адресу:
http://127.0.0.1/cgi-bin/2.pl"Проверь.
>>в httpd.conf
>>
>>пишу AddType text/html .html
>>AddHandler server-parsed .html
>>
>><Directory "C:/home/LocalHost/public_html"> - директория где лежат файлы .tml
>>Options Indexes Includes
>>AllowOverride All
>>Order allow,deny
>>Allow from all
>></Directory>
>>
>>в .html пишу <!--#include virtual="http://127.0.0.1/cgi-bin/2.pl" -->
>>
>>при запуске выдает [an error occurred while processing this directive]
>>Скажите, что еще нужно указать, плз!!!!!!
>В virtual попробуй оставить только
><!--#include virtual="/cgi-bin/2.pl" -->
>Плюс - без ssi - скрипт у тебя отрабатывает нормально? то есть
>он работает при обращении к нему по адресу:
>http://127.0.0.1/cgi-bin/2.pl"
>
>Проверь.
Работает, спасибо.