HeadsUp dir location

I’m having a minor problem with the HeadsUp add-on. I tried copying
it to RT2 local html tree but all I received were ‘404 not found’ errors.
However, when I moved it to the main RT2 html directory, it worked
just fine. I thought that the local directories were examined first
for content and then the main dirs. I have a modified Tabs element
file in the local tree that is detected over the mainline file. Any
ideas on why the HeadsUp content is not detected in local?

Yes, I performed the appropriate Apache stops and starts
between tests.

ttfn,
kevin ferguson

I think there’s been discussion about this before on this list… I
believe I may have asked this same question.

At any rate, my experience has been that if you create a new directory
in your local component root (“new directory” = directory that doesn’t
exist in the main component root), you also need to go ahead and create
an empty directory in the main component root as well as an index.html
in that directory.

So, let’s say you’re installed in /opt/rt2 and you want to install
HeadsUp. You could put the HeadsUp content in
/opt/rt2/local/WebRT/html. However, you’ll still need to
"mkdir /opt/rt2/WebRT/html/HeadsUp" and
"touch /opt/rt2/WebRT/html/HeadsUp/index.html" before it will work.

The local component path thing seems to be less of a "check here first"
than it is a literal local override.

Hope that’s some help, and that I haven’t misspoken any about
HTML::Mason.

Matt

“Ferguson, Kevin” writes:

Hi Matt,

Thanks for the info; it solved my dilemma.
If it was mentioned in the archives, I didn’t find it.

Thanks for the info; it solved my dilemma.
If it was mentioned in the archives, I didn’t find it.

Well, its now in RT/FM so future searches will find it :wink:

                         Bruce Campbell                            RIPE
               Systems/Network Engineer                             NCC
             www.ripe.net - PGP562C8B1B                      Operations