[thelist] Apache / Xitami / PWS woes - 3 Qs

George Dillon George Dillon" <george.dillon at ukonline.co.uk
Sun May 28 14:20:44 2000


So I couldn't figure out (or configure) PWS... and I got Xitami and it
worked...

Then I found it choked on Dreamweaver's library and template tags...
but hey that's ok(ish) methought, I'll be doing all that common code
stuff with SSI's now anyway... which threw up a quick question:

<Q1>

With SSIs I guess there's a hit on the loading time, as the server has
to create the page before sending it.  I'm assuming with modern fast
servers this is pretty much negligable... but is there any greater
disadvantage to having LOTS (i.e. 20 - 30) of SSIs in a single page or
might it even be an advantage (like chopped up images)?

</Q1>

Then I ran into this problem, which I guess is me knowing zilch about
configuring servers and is not specific to Xitami:

<Q2>

All my html pages (except the site index) are
in subdirectories of the site root, like so:

   /XITAMI/webpages/mysite/subdirectory/anypage.shtml

Likewise my SSI files, eg:

  /XITAMI/webpages/mysite/ssi/masthead.inc

When I use Dreamweaver to insert an ssi into anypage.shtml I get this:

   <!--#include virtual="../ssi/masthead.inc" -->

But when I view this in (IE5 & Win95 and) Xitami I get an error:

   #include file not found: C:/PROGRAM
FILES/XITAMI/webpages/../ssi/masthead.inc

   [perlssi: "#include virtual="../ssi/masthead.inc" " produced
errors]

OTOH if I change the line to:

   <!--#include virtual="mysite/ssi/masthead.inc" -->

it works for Xitami but not Dreamweaver.

What am I doing wrong?

</Q2>

So then I searched the Xitami/imatix (geddit?) site and list archive,
and found no answer (that I could understand) to Q2, but a number of
things to suggest that Apache had no probs with DW's tags, but it was
an unsolved issue with Xitami.

So off I trot to apache.org to download apache_1_3_12_win32.exe (I'm
on Win95 not NT).  And then I find I have to go to M$ for Winsock 2
 W95ws2setup.exe ) plus 3 other updates / patches.  (Meawhile I've
missed Gillingham getting promoted to Division 1 - but that's no big
deal as I'm a Wimbledon supporter!)

Several installs and restarts later, Apache's documentation is telling
me:

<quote>
There are two ways you can run Apache:
As a "service" (available on NT only). ...
From a console window. This is the only option available for Windows
95 users.

...

To run Apache from a console window, select the "Start Apache as
console app" option from the Start menu.
</quote>

But there's no such option in my start menu.  The nearest thing is
"Start Apache" which opens a DOS window and then closes it again PDQ,
i.e. before I can see what's gone wrong.  The properties of this
shortcut say:

   C:\Apache\Apache.exe -d "C:\Apache" -s

Two hours and no Apache later, I'm begining to wonder if it's worth
the effort... after all Xitami almost works... so...

<Q3>

Can anyone out there running Apache & Win95 help me get it up and
running?
All I really want to do (for now) is view SSIs.

</Q3>

TIA

George

P.S.  I was going to include a tip, which I clearly haven't followed
here, along the lines of "If you want an answer to your question,
don't ask it at the weekend!"  But I couldn't determine a type for
it... which made me wonder, should we be fighting or pleading for tip
type standardisation?  And is it up to us or the powers that be?