The nxbuilder/builder.conf file provides the directives needed to configure your
Apache Web server in order to run NX Builder. It restricts access to the index
page of the application and adds the .nxs content type to ensure that the NX
session files can be opened locally by the default application, i.e. NX Client:
<Directory "${path}/nxbuilder">
DirectoryIndex nxbuilder.php
Options Multiviews
<Files ~ "\.(cfg|conf)$">
Order deny,allow
Deny from all
</Files>
</Directory>
AddType application/nxs .nxs
Please edit nxbuilder/builder.conf and replace ${path} with the absolute path
to your application, for example:
<Directory "/var/www/html/nxbuilder">
Then include the nxbuilder/builder.conf file in the Apache configuration file, for example
/etc/httpd/conf/httpd.conf, by adding the following line before the "Global Environment"
section:
Include DocumentRoot/nxbuilder/builder.conf
where DocumentRoot is the path to the directory from which you will serve your NX Builder application.
For example:
Include DocumentRoot/nxbuilder/builder.conf
Then restart your Apache Web server and verify you can access the application by placing in your browser:
http://ServerName/nxbuilder/Setup.php
If your Apache configuration file provides restrictive directives, you should verify that they are compliant
with the directives set in the builder.conf file.
Please note that, if your Apache configuration file provides restrictive directives,
you should verify that they are compliant with the directives set in the builder.conf file.