BSOFTINDIA APP DOCUMENTATION

GENERAL INFORMATION
Bsoftindia Prerequisites
Get Started
Bsoft App Editions
Activating Your License
Updating Bsoftindia App
Upgrading Bsoftindia App
Securing A Bsoftindia Apps Server
Long Term Support Versions
SERVER ADMINISTRATION
Server Management
Application Publishing
Assigning Applications To Users Or Groups
RemoteApp On Client Feature
Remote Taskbar And Desktops Themes
Floating Panel And Application Panel
File Transfer
Secured Folder Sharing
Open Files On Client Side
Open URLs On Client Side
REMOTE PRINTING
Universal Printer
Printing With Standard RDP…
CONNECTION MODES
Bsoftindia Connection Client
Portable Client Generator
App Client Program
Edit Or Delete The Parameter Of A Generated Client
Seamless And RemoteApp Connection…
Access Your Server On The Web
Built-In Web Server Management
Web Applications Portal
Remote App Plugin
Creating And Customizing HTML Web Access
Web Credentials
Using IIS (Microsoft Internet Information Server)
Using Apache
HTML5 CLIENT
MOBILE CLIENT (HTML5) Remote Connection
From An IPhone / IPad / Android Device
HTML5 Client: Supported Browsers
HTML5 Client: Using Gestures On Mobile Devices (Touch)
HTML5 Client: Using File Transfer
HTML5 Client: Using Clipboard
HTML5 Client: Using Two Languages
HTML5 Server Memory Usage
App
Bsoft App Configuration
SECURING WEB CONNECTION
Two-Factor-Authentication
Free And Easy-To-Install SSL Certificate
HTTPS & SSL Third Party Certificates Tutorial
Choosing Your Ciphers Suites To Enhance Security
LOAD-BALANCING / FARM MANAGEMENT
GATEWEY SERVERS
FARM FEATURES
ADVANCED FEATURES
PRODUCT
Advanced Features Security
SESSION
ADVANCED DOCUMENTATION
Web Application Portal: Parameters In URL Address
Close The Logon Form After Logon
Change The Logon Splashscreen
HTML Pages And Customization
Completely Customize The Web Access Page
Open The HTML5 Client In The Same Tab
Add A Custom HTTP Header
Enforce HTTPS Protocol
Enforce-Web-Portal
Web Autologon
Html5 Client Mobile Devices Resolution
Html5 Maximize The Browser Window
HTML5 Client: Parameters In URL Address
Bind Web Server To Several Network Cards
Mount A Logical Drive

USING APACHE

HOW TO USE APACHE RATHER THAN BSOFT APP DEFAULT WEB SERVER

PRE-REQUISITES

It can be a good idea to Update Bsoft App  to be sure that you get the latest Bsoft App programs.

1 START ADMINTOOL AND GO TO THE WEB TAB

Click On the Manage Web Servers tile, check Use a different HTTP web server because you want to use Apache.

Then, use the button Select a new Web Server root path to tell Bsoft App where will be the new web folder root.
Bsoft App will copy the requested files/folders into this new root folder and, at this point, the Bsoft App setting for Apache is near completion. A pop-up will recommend you to change Apache HTTP port to 81:

It’s now time to set up Apache.

2 SETTING UP APACHE

Change the HTTP from 80 to 81.

The specific way of doing this depends on your Apache version and your current Apache settings.

We advise you to backup any Apache settings file before modifying them, so you will have a way to restore them if needed.

Usually you can change Apache listening port by editing the file httpd.conf found in “Apache\conf” directory

Listen 81

Once it is done, restart the Apache service.

3 GOING BACK TO BSOFT APP WEB SERVERS MANAGEMENT TOOL

You can set the HTTP and HTTPS ports in Bsoft App Web Management tool. We recommend using standard ports, but this feature can be handy when trying to avoid a conflict with an other process

4 LAST STEPS

For the Universal Printer, we need to be able to write in the PRINTS folder.
So, verify that Everyone/Users… have full rights on …/prints folder.

Then select the .html file you wish to use as a Web Access page in:

C:\Program Files (x86)\Bsoft-App\Clients\www

and copy it as index.html in your web root folder, typically this is the “Apache\htdocs” directory.

5 SPECIFIC SETTINGS FOR BSOFT APP GATEWAY PORTAL, LOAD BALANCING AND/OR HTML5 FILE TRANSFER

If you want to use this Apache based system as a Bsoft App Gateway Portal and/or use Bsoft App Gateway Portal Load Balancing feature and/or use HTML5 file transfer feature, you will need to allow the execution of Bsoft App GCI scripts by Apache.

First, you must have the CGI module enabled in Apache.

Edit the file httpd.conf found in “Apache\conf” directory, and search for a line looking like:

;LoadModule cgi_module modules/mod_cgi.so

Remove the “;” to enable the CGI module:

LoadModule cgi_module modules/mod_cgi.so

Then, find a line starting by:

AddHandler cgi-script

And add the .exe extension to authorize .exe files to be handled as CGI programs by Apache:

AddHandler cgi-script .exe

Finally, you must tell Apache that the Bsoft App “cgi-bin” folder contains CGI programs. To do so, you must add the following line in the file httpd.conf found in “Apache\conf” directory:

ScriptAlias /cgi-bin/ "C:/Program Files (x86)/Bsoft App/Clients/www/cgi-bin/"

Once it is done, restart the Apache service.

If you face any issue setting up CGI on your Apache server, please refer to the Official Apache documentation

Checking your settings: To validate your settings, please open a web browser on your server and go to http://localhost/cgi-bin/hb.exe. If you get an Apache error page, you have an issue in your Apache configuration. If you get a line of text/numbers, everything is fine!