Re: RT 4.2.10rc1 released

Matt Zagrabelny <[email protected]> Mon, 9 Feb 2015 10:26:05 -0600
Newsgroups gmane.comp.bug-tracking.request-tracker.devel
Message-ID <CAOLfK3V9ODaGH3EVTK77Dth=5TADv+y=o9yz4t4cC0cXnBjpMQ@mail.gmail.com>
Hi Cristiano,

On Mon, Feb 9, 2015 at 9:51 AM, Guadagnino Cristiano
<[email protected]> wrote:
> I am testing RT 4.2.10rc1 on my CentOS 6.6 (64 bit).
> I have enabled HTML::FormatExternal and I have elinks installed and working.
>
> Whenever I start apache, I get the following errors in apache's error_log:
>
> ERROR at home.c:156: Unable to find or create ELinks config directory.
> Please check if you have $HOME variable set correctly and if you have write
> permission to your home directory.
>
> I have my $HOME variable set as "/root", so I changed permissions so that
> the "apache" group can read/write in the /root/.elinks directory.
> However I still have the errors.
>
> Any suggestions?

From the elinks manpage you can set the config-dir:

-config-dir <str> (default: "")
           Path of the directory ELinks will read and write its config
and runtime state files to instead of ~/.elinks.
           If the path does not begin with a '/' it is assumed to be
relative to your HOME directory.

Make sure it is readable/writable by the webserver process owner.

I'm not sure if the RT config variable allows passing of options to
the command or if the space would get escaped and the whole string
would be treated as one file:

Set(
    @HTMLFormatters,
    'w3m',
    'perl',
);

-m