× Warning! This forum is in archival status. New contributions may not work.
[livesupport-dev] can we figure out where to install the PHP code on the web server?
  • For Tomas & Ferenc,

    Could we figure out, aggree on & finalize where to install the
    LiveSupport PHP files on the apache web server that's going to run them,
    at least for the test environment? The question is: at what URL would be
    access our PHP files?

    Just by looking at it from the distance, Tomas's
    modules/storageServer/doc/INSTLALL nor modules/archiveServer/doc/INSTALL
    says where it expects the access the PHP files via the web server.

    Running

    make check

    in storageServer, the (extremely terse, over 2000 lines, see
    http://bugs.campware.org/view.php?id=466) output suggests, that the
    desired URL is something like
    http://localhost:80/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.php
    thus one would need to create

    ln -s /livesupport


    but, Ferenc suggests in gettingStarted.html that indeed this would be

    ln -s /modules/storageServer /storage


    now, which one is it? wouldn't it be better to make each other life a
    lot easier by documenting what we do? (I'm now spending half a day just
    trying to figure out how to make the PHP thing work...)


    Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail
  • 1 Comment sorted by
  • For Akos,

    Both symlink version are possible, but it have to reflect
    the "URL configuration" in modules/storageServer/var/conf.php :

    /* ==================================================== URL configuration */
    'storageUrlPath' => '/livesupportStorageServer',
    'storageXMLRPC' => 'xmlrpc/xrLocStor.php',
    'storageUrlHost' => 'localhost',
    'storageUrlPort' => 80,

    I've changed default values for better storage/archive isolation.
    Now two symlinks should be created:
    ln -s /modules/storageServer/var \
    /livesupportStorageServer
    ln -s /modules/archiveServer/var \
    /livesupportArchiveServer

    I've added some things to main gettingStarted.html document and
    I will try to create better HTML documentation of remaining settings.
    (instead of plain text INSTALL files)
    I've rewritten setup and test scripts to produce more readable output,
    stop after error immediately and say if all are OK.

    Excuse me for 2000 lines of setup script output - it was automatically
    generated call-stack-dump after error message - I've forgotten to turn off
    debug mode.

    Tomas Hlava
    th@red2head.com

    On Tuesday 23 November 2004 15:47, Akos Maroy wrote:
    > For Tomas & Ferenc,
    >
    > Could we figure out, aggree on & finalize where to install the
    > LiveSupport PHP files on the apache web server that's going to run them,
    > at least for the test environment? The question is: at what URL would be
    > access our PHP files?
    >
    > Just by looking at it from the distance, Tomas's
    > modules/storageServer/doc/INSTLALL nor modules/archiveServer/doc/INSTALL
    > says where it expects the access the PHP files via the web server.
    >
    > Running
    >
    > make check
    >
    > in storageServer, the (extremely terse, over 2000 lines, see
    > http://bugs.campware.org/view.php?id=466) output suggests, that the
    > desired URL is something like
    > http://localhost:80/livesupport/modules/storageServer/var/xmlrpc/xrLocStor.
    >php thus one would need to create
    >
    > ln -s /livesupport
    >
    >
    > but, Ferenc suggests in gettingStarted.html that indeed this would be
    >
    > ln -s /modules/storageServer /storage
    >
    >
    > now, which one is it? wouldn't it be better to make each other life a
    > lot easier by documenting what we do? (I'm now spending half a day just
    > trying to figure out how to make the PHP thing work...)
    >
    >
    > Akos

    ------------------------------------------
    Posted to Phorum via PhorumMail