ODS.ODSControllerPHPApiLogin

  • Topic
  • Discussion
  • ODS.ODSControllerPHPApiLogin(Last) -- DAVWikiAdmin? , 2017-06-13 06:06:47 Edit WebDAV System Administrator 2017-06-13 06:06:47

    ODS Controller for PHP Api Login

    1. PHP: The supported version of PHP is 5, so you should use Virtuoso php5 executive.
    2. The page name is 'users.php'.
    3. The endpoint URL is http://[cname]:[port]/php/users/users.php The alternate URL is http://[cname]:[port]/ods/users/users.php
    4. Configuration:
      1. Start Virtuoso executive
      2. Install the ods framework_dav.vad package
      3. After VAD installing new page is created in folder '/DAV/VAD/wa/users' - 'users_dsn.php'. This page contains connection information - cname, user, password. If some database parameters are changed this file must be updated:
        1. Go to http://cname:port/conductor
        2. Login as dba user. The password by default is dba.
        3. Go to tab WebDAV? & HTTP
        4. Go to path "DAV/VAD/wa/users"
        5. Update file 'users_dsn.php' file by changing the values of the following PHP variables:

          $_dsn -- this is the ODBC connection name. $_pass -- this is the dba user password

    CategoryODS CategoryPHP