Zrajm C Akfohg <[email protected]> writes:

> Thanx for the speedy reply. :)
>
> On Wed, Jan 23, 2013 at 7:46 AM, Clinton Ebadi <[email protected]> 
> wrote:
>
>     Zrajm C Akfohg <[email protected]> writes:
>    
>     > A few of my pages uses SSI, but that doesn't seem to work after moving 
> the web site to navajos.
>     >
>     > For example, take a look at http://zrajm.org/mat/ in a browser, and
>     > look at the source code. The SSI tags are still present in the source,
>     > and have not been replaced by the appropriate content (as they
>     > should've been). Why is this?
>     >
>     > As far as I can tell my config  file (~zrajm/.domtool/zrajm.org)
>     > contains all the right stuff for this to work. (the only thing
>     > required should be the "includesNOEXEC" option, right?).
>    
>     Hrm, I'm not sure why Apache ever would have parsed .html files as
>     SSI... if mire was, it was certainly not on purpose.
>
> That would explain it then. :)
>
> Renamed my files *.html files to *.shtml instead, and everything seems
>to be working fine now. Thanx for the help.
>
> ...Well. Almost fine. Using UTF-8 does not seem to work properly when
> I set a variable in the main file (using <!--#set var="X_TITLE"
> value="Innehåll." -->) and then use that variable inside a file
> included with SSI (with <!--#echo var="X_TITLE" -->). 
>
> An example is here http://zrajm.org/mat/ (look at the headline -- it's
> supposed to say "Innehåll" = "Contents" in Swedish -- but instead
> there are funny characters instead of the a with a ring above). It is
> as if Apache has decided that the variable has latin-1 content, even
> though addDefaultCharset "utf-8"; is in use).

The document in question has the following meta tag (from .head.shtml):

  <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">

Which overrides the HTTP Content-Type.

I think removing that should fix it; if not let me know, hopefully it's
not a deficiency in domtool or our apache rig (but if it is, I want to
fix it naturally).

-- 
<captain_krunk> ntk is currently using "telnet fyodor 25" to send email

Attachment: pgppSJoD7j_rq.pgp
Description: PGP signature

_______________________________________________
HCoop-Help mailing list
[email protected]
https://lists.hcoop.net/listinfo/hcoop-help

Reply via email to