Thanks guys.  This is working now.

Grigsby, Garl ([EMAIL PROTECTED]) wrote:
>
>Now let me finish my thought...
>
> Try using virtual instead:
>
><!--#include virtual="/include/nav_main.htm" -->
>
>Using file requires that the file be in the same directory as the referencing file.
I have also had other random problems using file.
>
>Also make sure that the file has a '.shtml' extension and not '.html' or '.shtm'. I
have made both of these mistakes in the past.
>
>Garl
>
>> > Hi,
>> >
>> > One of my clients is trying to use:
>> > <!--#include file="header.txt"-->
>> > to insert some common info on several web pages on their
>> > server.  It doesn't work.
>> > I checked /etc/apache/httd.conf and it seems to be setup
>> > right.  There is:
>> > LoadModule includes_module    libexec/mod_include.so
>> >
>> > and
>> > AddModule mod_include.c
>> >
>> > and
>> > # This may also be "None", "All", or any combination of "Indexes",
>> > # "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
>> > #
>> > # Note that "MultiViews" must be named *explicitly* ---
>> "Options All"
>> > # doesn't give it to you.
>> > #
>> >     Options Indexes FollowSymLinks MultiViews +Includes
>> >
>> > and
>> >     # To use server-parsed HTML files
>> >     #
>> >     AddType text/html .shtml
>> >     AddHandler server-parsed .shtml
>> >
>> > There are no errors in /var/log/apache/error_log.
>> > /var/log/apache/access_log doesn't show an attempt to load
>> > the include file.
>> >
>
>_______________________________________________
>EuG-LUG mailing list
>[EMAIL PROTECTED]
>http://mailman.efn.org/cgi-bin/listinfo/eug-lug
>

--
Assured Computing
When you need to be sure.
[EMAIL PROTECTED]
www.assuredcomp.com
Voice - 541-868-0331
FAX - 541-463-1627
Eugene, Oregon


_______________________________________________
EuG-LUG mailing list
[EMAIL PROTECTED]
http://mailman.efn.org/cgi-bin/listinfo/eug-lug

Reply via email to