[CLUE-Tech] networking

ian iguy at ionsphere.org
Mon Apr 23 21:36:38 MDT 2001


Do you have virtual domains used?

The previous mailer (which went just to you) I think was on the right track.

ian


On Mon, Apr 23, 2001 at 09:11:55PM -0600, jason at matchingmoms.com wrote:
> Good idea.  This suggests an issue with apache?
> 
> root /home/friejas# ping powerpull.net
> PING powerpull.net (192.168.0.200): 56 data bytes
> 64 bytes from 192.168.0.200: icmp_seq=0 ttl=255 time=0.1 ms
> 64 bytes from 192.168.0.200: icmp_seq=1 ttl=255 time=0.0 ms
> 64 bytes from 192.168.0.200: icmp_seq=2 ttl=255 time=0.0 ms
> 64 bytes from 192.168.0.200: icmp_seq=3 ttl=255 time=0.0 ms
> 
> --- powerpull.net ping statistics ---
> 4 packets transmitted, 4 packets received, 0% packet loss
> round-trip min/avg/max = 0.0/0.0/0.1 ms
> 
> ----- Original Message -----
> From: Match Grun <match at dimensional.com>
> To: <clue-tech at clue.denver.co.us>
> Sent: Monday, April 23, 2001 9:08 AM
> Subject: Re: [CLUE-Tech] networking
> 
> 
> > What happens if you do:
> >
> > ping www.powerpull.net
> > or
> > ping powerpull.net
> >
> > from the command line?
> >
> > Match
> >
> > On Mon, 23 Apr 2001 05:52:41 -0600
> > jason at matchingmoms.com wrote:
> >
> > > Below are some of my networking files:
> > >
> > > root /etc# cat hosts
> > > #/etc/hosts
> > > 127.0.0.1       localhost
> > > 192.168.0.200   powerpull.net
> > >
> > > root /etc# cat host.conf
> > > order hosts,bind
> > > multi on
> > >
> > > root /etc/network# cat interfaces
> > > # /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)
> > > # The loopback interface
> > > iface lo inet loopback
> > > # The first network card - this entry was created during the Debian
> > > installation
> > > # (network, broadcast and gateway are optional)
> > > iface eth0 inet static
> > >         address 192.168.0.200
> > >         netmask 255.255.255.0
> > >         network 192.168.0.0
> > >         broadcast 192.168.0.255
> > >
> > > When I type http://192.168.0.200 into my browser I pull up my
> index.html.
> > > However, when I type http://www.powerpull.net or http://powerpull.net my
> > > browser spins, looking for that name out in space somewhere.  Why is
> this?
> > >
> > > Thanks,
> > > Jason
> > >
> > >
> > > _______________________________________________
> > > CLUE-Tech mailing list
> > > CLUE-Tech at clue.denver.co.us
> > > http://clue.denver.co.us/mailman/listinfo/clue-tech
> > _______________________________________________
> > CLUE-Tech mailing list
> > CLUE-Tech at clue.denver.co.us
> > http://clue.denver.co.us/mailman/listinfo/clue-tech
> >
> 
> _______________________________________________
> CLUE-Tech mailing list
> CLUE-Tech at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-tech

Received: from gull.mail.pas.earthlink.net (gull.mail.pas.earthlink.net [207.217.121.85])
	by clue.denver.co.us (8.9.3/8.9.3) with ESMTP id EAA29593
	for <clue-tech at clue.denver.co.us>; Mon, 23 Apr 2001 04:59:11 -0600
Received: from swordfish.havenrock.com (user-33qtoui.dialup.mindspring.com [199.174.227.210])
	by gull.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id DAA06174
	for <clue-tech at clue.denver.co.us>; Mon, 23 Apr 2001 03:08:39 -0700 (PDT)
Received: from matt by swordfish.havenrock.com with local (Exim 3.12 #1 (Debian))
	id 14rdIT-0001A5-00
	for <clue-tech at clue.denver.co.us>; Mon, 23 Apr 2001 04:10:21 -0600
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <15075.65419.584099.378626 at swordfish.havenrock.com>
Date: Mon, 23 Apr 2001 04:10:19 -0600 (MDT)
From: Matt Gushee <mgushee at havenrock.com>
To: clue-tech at clue.denver.co.us
Subject: Re: [CLUE-Tech] many choices
In-Reply-To: <01042217402300.09004 at shadow.sage.net>
References: <01042214433400.08859 at shadow.sage.net>
	<98010104164500.00189 at jumanji>
	<01042217402300.09004 at shadow.sage.net>
X-Mailer: VM 6.72 under 21.0 "20" XEmacs Lucid (beta65)
Sender: clue-tech-admin at clue.denver.co.us
Errors-To: clue-tech-admin at clue.denver.co.us
X-BeenThere: clue-tech at clue.denver.co.us
X-Mailman-Version: 2.0beta2
Precedence: bulk
Reply-To: clue-tech at clue.denver.co.us
List-Id: CLUE technical discussions, questions and answers. <clue-tech.clue.denver.co.us>

Well, sorry to jump in at (or after?) the last moment, but I've seen
some misconceptions floating around, so I just have to shoot off my
mouth a bit:

Roger Frank writes:

 > > How about SGML, using the Linuxdoc-SGML tools or 
 > > something like that?
 > 
 > I think XML is a subset of SGML.

Quite true ... but it's important to note that a) because XML uses
Unicode characters by default, and its names are case-sensitive, you
can't always process XML correctly with SGML tools, and b) some SGML
tools, e.g. the Linuxdoc-SGML tools, are designed to support only a
particular document type, and may not work for other document types or 
for XML (though it wouldn't be terribly hard to hack them to work with 
something else).

 > And I like the way I can
 > decide that a certain header or style has certain attributes.
 > Hey it's just like PageMaker in that respect.

If you're serious about that, I'm afraid you may not have gotten the
point of XML yet. One of the main reasons SGML and XML were created
was to be able to separate content from formatting -- i.e., a "pure"
*ML document contains tags that describe the content in structural and 
semantic terms; all formatting/presentation/behavior is done through
some external mechanism such as stylesheets + a stylesheet-aware
application. By the way, LaTeX is based on more or less the same
principle, though of course its syntax is completely different.

The point of this is to maximize your ability to reuse, interchange,
and manipulate the document content. This is in stark contrast to most 
WYSIWYG document tools -- *especially* page layout programs like
PageMaker. A PageMaker document is all formatting with little
structure and no semantics. That combined with its ease of use makes
it optimal for glossy marketing brochures and other "throwaway
documents."

 > form) so maybe HTML with CSS would be enough.  CSS means
 > cascading style sheets, and somehow I thought that was related to XML
 > but that's maybe only because the file extension for an XML definition
 > seems to be ".css".

I'm not sure what you mean by 'XML definition', but CSS is just a
stylesheet language, meaning that it defines formatting properties for 
a markup language document. You can use CSS to display XML documents
in Netscape 6+, Opera 4+, and MSIE 5+. This approach has some serious
limitations, though. For instance, you probably want hyperlinks, but
you can't have 'em--because no browser behavior is defined for any XML
element, and CSS doesn't have a way to generate hyperlinks.

Then there's XSLT, (eXtensible Stylesheet Language --
Transformations). Despite its name, it really isn't a stylesheet
language, it's a transformation language. You feed your XML document + 
an XSLT "stylesheet" to an XSLT processor and get back -- just about
anything, really, though XSLT is most commonly used to generate
HTML. Internet Exploder supports real-time XSLT transformations
(i.e. you can open an XML document with a link to an XSLT file, and
it'll look just like a regular web page), but AFAIK there is nothing
running on Linux (browser or otherwise) with that cool functionality.

But if you really wanted to use XML, you could obtain an XSLT
processor such as Saxon (http://users.iclway.co.uk/mhkay/saxon/), XT
(http://4xt.org/), Xalan (http://xml.apache.org/) or 4XSLT
(http://www.4suite.org/). All of these can be used as libraries for
Java (first 3) or Python (4XSLT) programs, and most of them come with
command-line tools too.

 > But XML is not HTML, so I have more digging to do.

Indeed. Given all you've said, I'm not sure XML is appropriate for
this project, but if you want to go ahead and learn more about it,
here are a couple of good resources.

     "A Technical Introduction to XML" by Norman Walsh
     [who really knows his s*t, and is a decent writer, too]
     http://www.xml.com/pub/a/98/10/guide0.html

     Zvon XML tutorials
     http://www.zvon.org/

Matt Gushee



More information about the clue-tech mailing list