Search Engine: Elastic

Article ID: 117498, created on Sep 25, 2013, last review on Jul 14, 2018

  • Applies to:
  • Operations Automation 5.5
  • APS 2.x


There are two ways to configure endpoint for development of external application

  1. Automatic

    We have created a script to perform all actions automatically:

    • Download and extract the attached archive.
    • Run the script:

      ./ <endpoint url path> <application archive path>

      For example:

      ./ application /root/

      Scripts will be extracted to /var/www/html/application.

      For more information see built-in help (execute without parameters to see usage).

  2. Manual

    If there are problems with automatic configuration you can report an error to technical support or configure end-point manually.

    Checklist for typical Apache & PHP environment:

    • webserver to handle request:

      yum install httpd

    If you use PHP and scripting engine and our php-runtime:

    • php and required modules

      yum install php php-xml php-soap
    • php runtime: Install latest aps-php-runtime from APS Tools page, for example:

      yum install
    • Extract your scripts to some web-accessible folder, for example /var/www/html/application and change the owner to webserver (necessary for php runtime to work):

      chown -R apache:apache your_folder

      If you feel uncomfortable giving write access to apache to your whole endpoint folder, you can create folders for php runtime inside your endpoint and make sure apache can write there. Folders are :


      PHP runtime will store configuration data and temporary files there. If you are not using PHP runtime these folders are not required.

    • Create .htaccess with rewrite rules:

      <IfModule mod_rewrite.c>
      RewriteEngine on
        RewriteBase /application/
        RewriteCond %{REQUEST_FILENAME} !-f
        RewriteRule ^globals(|/.*)$ globals.php?q=$1 [L,QSA]
        RewriteRule ^samples(|/.*)$ samples.php?q=$1 [L,QSA]
        RewriteRule ^users(|/.*)$ users.php?q=$1 [L,QSA]
    • Make sure .htaccess will be processed by webserver, modify /etc/httpd/conf/httpd.conf:

      find AllowOverride directive in <Directory "/var/www/html">, it should be set to All:    

      AllowOverride All

      Restart Apache after applying the changes.


717db81efe94e616312b74fb03a5d474 70bf700e0cdb9d7211df2595ef7276ab 5356b422f65bdad1c3e9edca5d74a1ae caea8340e2d186a540518d08602aa065 e12cea1d47a3125d335d68e6d4e15e07 5b048d9bddf8048a00aba7e0bdadef37 2554725ed606193dd9bbce21365bed4e

Email subscription for changes to this article
Save as PDF