gnump3d-users
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Gnump3d-users] add .htm


From: Marty Huntzberry
Subject: Re: [Gnump3d-users] add .htm
Date: Mon, 18 Sep 2006 19:27:42 -0400

Worked perfect!  Thank you.

I also noticed that my download links in gnump3d work on the left click rather 
than opening the file as text using Firefox.  Is this because of the
gnump3d update to 2.9.9?

Marty

On Mon, 18 Sep 2006 16:13:35 +0100
Steve Kemp <address@hidden> wrote:

> On Mon, Sep 18, 2006 at 10:05:03AM -0500, address@hidden 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



><>Marty<><

Visit my media server: http://linuxhippy.servemp3.com:8001/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]