Piclan-IP / Coyote filename extensions

Piclan-IP / Coyote filename extensions

Post by Bob Coleman/PDX O » Sun, 13 May 2001 08:27:59



Does anyone know how to give a PLZ page an extension other than .HTM?  I
have two
customers with proxy servers that cache everything except items with the
following
extensions: .ASP, .CGI and .PL

Any clues?

-Bob Coleman/FCA PDX

 
 
 

Piclan-IP / Coyote filename extensions

Post by Harv Rodstei » Sun, 13 May 2001 09:39:38


In the PICLAN-IP account - look at the
WWW.CTRL file.
Check out the entries of the format MIME*type.

For example:
    MIME*HTML
001 text/html
002 AM

To handle a CGI extension I added
    MIME*CGI
001 text/html
002 AM

Regards
Harv



Quote:> Does anyone know how to give a PLZ page an extension other than .HTM?  I
> have two
> customers with proxy servers that cache everything except items with the
> following
> extensions: .ASP, .CGI and .PL

> Any clues?

> -Bob Coleman/FCA PDX


 
 
 

Piclan-IP / Coyote filename extensions

Post by Doug Dumit » Mon, 14 May 2001 01:10:38


On Fri, 11 May 2001 16:27:59 -0700, "Bob Coleman/PDX OR"


>Does anyone know how to give a PLZ page an extension other than .HTM?  I
>have two
>customers with proxy servers that cache everything except items with the
>following
>extensions: .ASP, .CGI and .PL

>Any clues?

>-Bob Coleman/FCA PDX

Coyote will server "active" page content out of any mime time that is
text (as opposed to binary types like image/gif).  You can use this
proceedure to run PLZ application out of another extension:

  1.  Create a new mime time that is HTML from not .htm

         COPY WWW.CTRL MIME*HTM
         >To:MIME*ASP

  2.  Compile your application with PLZ

         PLZ APP.SRC MAIN

  3.  Copy the object to the new extension

         COPY APP.OBJ MAIN.HTM
         >To:MAIN.ASP

Of course, your file names, extensions, etc. will vary.  You only need
to copy the main-line programs.  Subroutine need to stay as they are.

Note that I have not actually tested this, but from looking at the
code, there is no reason it shouldn't work (famous last words).

I should mention that the behaviour of your proxy servers is a bit
strange.  HTTP pages have time/date stamps in the headers that tell
proxy servers on a page-by-page basis what to cache and what consider
dynamic.  If your proxy servers are hard-caching .HTM then they are
off-spec.


-----------------------------------------------------------------
Easy Computing Company - Internet Hosting for mvDBMS Applications

Direct:       949 831-4774
Main Office:  888 473-7866
              610 237-2000

 
 
 

Piclan-IP / Coyote filename extensions

Post by Bob Coleman/PDX O » Wed, 16 May 2001 06:58:40


Thanks it works.

The proxy server in question belongs to our customer and it does funny
things.  Their IT department by/at it profusely so I can do nothing about
it except try to work around it.

-Bob Coleman/FCA PDX


> On Fri, 11 May 2001 16:27:59 -0700, "Bob Coleman/PDX OR"

> >Does anyone know how to give a PLZ page an extension other than .HTM?  I
> >have two
> >customers with proxy servers that cache everything except items with the
> >following
> >extensions: .ASP, .CGI and .PL

> >Any clues?

> >-Bob Coleman/FCA PDX

> Coyote will server "active" page content out of any mime time that is
> text (as opposed to binary types like image/gif).  You can use this
> proceedure to run PLZ application out of another extension:

>   1.  Create a new mime time that is HTML from not .htm

>          COPY WWW.CTRL MIME*HTM
>          >To:MIME*ASP

>   2.  Compile your application with PLZ

>          PLZ APP.SRC MAIN

>   3.  Copy the object to the new extension

>          COPY APP.OBJ MAIN.HTM
>          >To:MAIN.ASP

> Of course, your file names, extensions, etc. will vary.  You only need
> to copy the main-line programs.  Subroutine need to stay as they are.

> Note that I have not actually tested this, but from looking at the
> code, there is no reason it shouldn't work (famous last words).

> I should mention that the behaviour of your proxy servers is a bit
> strange.  HTTP pages have time/date stamps in the headers that tell
> proxy servers on a page-by-page basis what to cache and what consider
> dynamic.  If your proxy servers are hard-caching .HTM then they are
> off-spec.


> -----------------------------------------------------------------
> Easy Computing Company - Internet Hosting for mvDBMS Applications

> Direct:       949 831-4774
> Main Office:  888 473-7866
>               610 237-2000