On Mon, Sep 18, 2006 at 10:05:03AM -0500, [EMAIL PROTECTED] wrote:
> I have some pages that are .html and some that are .htm that I have linked 
> off my index page.  I have a menu bar that I would like all these pages to 
> display.  I am able to change the menu bar file and that changes in all these 
> pages by putting this line in my .html and .htm files:
> 
> <!-- include="menu.tmpl" -->
> 
> This works fine in the .html files but doesn't work in the .htm files.  Why?

  Only files with a .html suffixe are treated as special.  See
 bin/gnump3d2 for this section of code:

--
                if ( -e $testPath )
                {
                    if ( $testPath =~ /\.html$/i )
                    {
                        my $mime = $mime_cache{ lc( &getSuffix( $testPath ) ) 
};                        my $header = getHTTPHeader( 200, $mime );
--

  You could change that to read:

    if ( $testPath =~ /\.html?$/i )

  To allow .htm + .html.

Steve
-- 


_______________________________________________
Gnump3d-users mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/gnump3d-users

Reply via email to