[ale] OFFTOPIC: html includes?
Wandered Inn
esoteric at denali.atlnet.com
Thu Jun 24 17:58:13 EDT 1999
Nomad the Wanderer wrote:
>
> I'm using the latest Apache ion a RH-6.0 system. I'll poke
> around this file a bit, Any url's for HOWTO's and the like? I'd
> rather not spend a few weeks figuring it out.
Don't know about HOWTOs, but you might check the apache web site. I've
got an )'Reilly Apache book and it's explained there. By default,
server side include html for the Apache webserver have an '.shtml'
rather than '.html'. The syntax of the include itself is:
<!--#element attribute=value attribute=value .... -->
There are a number of possible 'elements' including:
errmsg, sizefmt, timefmt, echo, exec, cmd, fsize, include.
I suspect you would be interested in the 'include' option. The syntax
for the include would be:
<!--#include virtual="nameoffileyouwantincluded"-->
Pretty straight forward. It's been a while since I played with this
myself.
>
> Robert
>
> Thus spake Wandered Inn (esoteric at denali.atlnet.com):
>
> > Nomad the Wanderer wrote:
> > >
> > > Ok,
> > > Say I have about 35 web pages I use for user contact information. There
> > > is one section of code that will change periodicly, but will also be
> > > identicle to all 35 pages. Is it possible to "include" the html "code"
> > > from one sub-page into all 35 other pages?
> >
> > You want to use parsed html. It is supported by most webservers, what
> > webserver product are you using? For apache, I think the configuration
> > for it is the /etc/httpd/conf/srm.conf file. Search for shtml.
> >
> >
> > >
> > > Robert
> > >
> > > ---------------------------------------------------------------------------
> > > Robert L. Harris | Windows --
> > > Senior System Administrator II | Proof Micro$oft has
> > > at Great West Life. \_ a room full of monkeys.
> > >
> > > http://www.orci.com/~nomad
> > >
> > > DISCLAIMER:
> > > These are MY OPINIONS ALONE. I speak for no-one else.
> > >
> > > FYI:
> > > perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
> >
> > --
> > Until later: Geoffrey esoteric at denali.atlnet.com
> >
> > It should be illegal to yell "Y2K" in a crowded economy.
> > -- Larry Wall, creator of the programming language Perl
>
> ---------------------------------------------------------------------------
> Robert L. Harris | Windows --
> Senior System Administrator II | Proof Micro$oft has
> at Great West Life. \_ a room full of monkeys.
>
> http://www.orci.com/~nomad
>
> DISCLAIMER:
> These are MY OPINIONS ALONE. I speak for no-one else.
>
> FYI:
> perl -e 'print $i=pack(c5,(41*2),sqrt(7056),(unpack(c,H)-2),oct(115),10);'
--
Until later: Geoffrey esoteric at denali.atlnet.com
It should be illegal to yell "Y2K" in a crowded economy.
-- Larry Wall, creator of the programming language Perl
More information about the Ale
mailing list