I'm writing my code as an extension to make it easier to load on my
customer's development, test and production servers.  I'm trying to
add an ajax spinner, so I added it in my source directory
html/NoAuth/images/foo/ajax-spinner.gif, and it gets installed in
/opt/rt4/local/plugins/foo/html/NoAuth/images/foo/ajax-spinner.gif,
however when I try to load that file, I get the problem where Mason is
trying to interpret the file as source.  Now I just read something
about that yesterday or today, either here on the list or on IRC, but
I can't find the actual message.  But based on what I remembered, I
copied the autohandler from /opt/rt4/share/html/NoAuth/images/ into my
image directory, hoping that would make the gif load as a gif instead
of as a Mason file.  But it doesn't seem to be happening.  I even put
a $RT::Logger->debug line in the autohandler and it doesn't seem to be
executed.

I'm running the server in stand-alone mode, built using
./configure --enable-devel-mode --with-my-user-group --with-db-type=Pg
--with-web-handler=standalone,fastcgi
and started up with
/opt/rt4/sbin/rt-server --server Standalone --port 8080


-- 
http://www.linkedin.com/in/paultomblin
http://careers.stackoverflow.com/ptomblin

Reply via email to