Possible problem porting swat
rcalex at home.com
Tue Aug 29 22:07:26 GMT 2000
I know nothing about html, so please bear with me.
I first copied the DIAGNOSIS.txt file to the docs dir since that is where
the html wants to find it see snip 1 --- might be a bug there.
I just tried it on my PC by clicking on docs/faq/Samba-meta-FAQ.html then
1.1 Samba for the impatient then on "the diagnosis recipe" link. The page
gets formatted as expected (or rather does not get formatted which is what
It only seems to fail if I go through swat. Keep in mind it's a Stratus
running VOS. Is swat dependant on apache or something else?
This looks like a 2nd issue.
<DT><B>Debug sequence:</B><DD><P>If you think you have completed the
previous step and things aren't working properly work through
<A HREF="../DIAGNOSIS.txt">the diagnosis recipe.</A></P>
The ../DIAGNOSIS.txt should actually be ../textdocs/DIAGNOSIS.txt
But when I did a search, I then found pages with references like this:
The ftp .... doesn't work.
Since I think my user community would benefit from having the FAQ's
available from the swat home page (and maybe a new page of links to all the
txt files) I am going to go through all the html and 'adjust' the links to
the correct local file system locations.
If I do that, would the samba team like to have the changes back?
From: Christopher R. Hertel [mailto:crh at nts.umn.edu]
Sent: August 28, 2000 6:16 PM
To: Ron Alexander
Subject: Re: Possible problem porting swat
It sounds as though the MIME header is messed up. When I look at
DIAGNOSIS.txt there is no MIME header so the local web browser should be
going to its MIME configuration (which should say that .txt is raw text).
It might be worth-while to look at the source as SWAT is presenting it to
see if some sort of header is being added.
On the Samba web pages we have a file called DIAGNOSIS.html, which
<!--#include virtual="/samba/header.html" -->
<!--#include virtual="/samba/ftp/docs/textdocs/DIAGNOSIS.txt" -->
<!--#include virtual="/samba/footer.html" -->
Thus providing the <pre></pre> block to protect the text.
[Charset iso-8859-1 unsupported, filtering to ASCII...]
> I have been using swat for a while on the Stratus Samba port, but I just
> discovered a weird problem.
> I have added links to the FAQ's at the bottom of the swat home page (and
> slightly re-organized the docs directories).
> I found a link to the DIAGNOSIS.txt and clicked it. The page gets
> but there is no formatting. Basically it all runs together.
> If I just grab a snippet of html and create a test.html in my home
> with a link to DIAGNOSIS.txt everything works fine.
> The only difference is that the failing version uses swat and the working
> version is normal (via a samba home dir share) html.
> I would like to re-solve this in order to give my users the ability to
> and learn about samba via swat. I don't believe in re-inventing the wheel.
Christopher R. Hertel -)----- University of Minnesota
crh at nts.umn.edu Networking and Telecommunications Services
Ideals are like stars; you will not succeed in touching them
with your hands...you choose them as your guides, and following
them you will reach your destiny. --Carl Schultz
More information about the samba-technical