Running the Apache Application

As stated earlier, you can deploy your app using FTP or using PAServer directly from the Delphi IDE. To deploy from the IDE, press F9 — Delphi will copy your SO module into PAServer's working directory.

Once deployment is complete and configuration is set correctly, run your Linux Apache application in a browser.

1

Deploy the application

From the Delphi IDE press F9 to deploy. Delphi will copy your SO module into PAServer's working directory.

2

Open the application in a browser

Point your browser to:

http://apache_server_address:apache_server_port/application_alias

Example (Apache running on localhost or 192.168.1.15, port 80, application alias uniapache):

http://localhost/uniapache

or

http://192.168.1.15/uniapache

3

Restart Apache after each deployment

Each time you make a change and deploy (press F9), you need to restart the Apache server to reload the new module:

Restart Apache
sudo systemctl restart apache2.service
clip0204