[rt-users] Javascript files give "syntax error": not substituted?

Gary Oberbrunner garyo at genarts.com
Fri Jul 6 23:42:47 EDT 2007


I'm pretty new at RT.  Just installed 3.6.4 on Linux FC4, MySQL, apache,
mod_perl.  RT pretty much all works, except the JavaScript hide/show
stuff doesn't.  That seems to be because all the js files in
/rt/NoAuth/js use "%" as a comment char and seem to need some kind of
text-substitution.  But they're coming through unmodified to the client
side.  Here's one such error:

Error: syntax error
Source File: http://my.domain/rt/NoAuth/js/util.js
Line: 1
Source Code:
%# BEGIN BPS TAGGED BLOCK {{{

Are these files supposed to get processed on the server before getting
sent to the client?  My httpd config is very simple (my RT runs in
http://my.domain/rt):

    Alias /rt "/opt/rt3/share/html"
    AddDefaultCharset UTF-8

    PerlModule Apache::DBI
    PerlRequire /opt/rt3/bin/webmux.pl
    <Location /rt>
      RewriteEngine On
      RedirectMatch permanent (.*)/$ $1/index.html
      SetHandler perl-script
      PerlHandler RT::Mason
    </Location>


So what have I misconfigured?

thx,

-- 
Gary Oberbrunner



More information about the rt-users mailing list