1. Install on Windows
This use case describes how to install Apache Web Server on Windows.
Scenario
Section titled “Scenario”Install Apache HTTP Server on Windows and verify that it starts as a Windows service. This step checks the local HTTP listener on port 80. The following steps add HTTPS and configure the routes to Fortified ID services.
The example uses C:\Apache24 as the installation folder. Adjust the paths and service name to match your installation.
Prerequisite
Section titled “Prerequisite”- Windows server 2019 or later
Download and install Apache Web Server
Section titled “Download and install Apache Web Server”- Download Apache Web Server
- The example uses the Windows build from Apache Lounge.
- Make sure you have pre-requirement completed
- Install the Visual C++ Redistributable required by the Apache build you downloaded. Check the download page for that build’s requirements.
- Extract the contents of the Apache Web Server 2.4 zip-file
- Locate the extracted Apache24 folder and copy this folder to the root of C:\
- You should now have C:\Apache24
Start and verify installation of Apache Web Server manually
Section titled “Start and verify installation of Apache Web Server manually”- Open a command prompt as an administrator
- Open the C:\Apache24\bin folder
- Run the httpd.exe command
- Open a browser and browse to http://localhost:80
- When you point your browser to the localhost address, and there are no conflicts on port 80, a landing page will appear that says “It works!”
- If this will not work you might need to check local firewalls on windows server
- Press Ctrl+C to stop the manually started Apache process before starting the Windows service.
Install Apache Web Server as a Windows service
Section titled “Install Apache Web Server as a Windows service”- Open a command prompt as an administrator
- Open the C:\Apache24\bin folder
- Run httpd.exe -k install -n "Apache HTTP Server"
- Open Services on your Windows server
- Locate the service Apache HTTP Server
- Start the service
- Open a browser and browse to http://localhost:80
- If this will not work you might need to check local firewall on windows server.
- When you point your browser to the localhost address, and there are no conflicts on port 80, a landing page will appear that says “It works!”
Next step
Section titled “Next step”Once the Windows service responds locally, continue with Add a certificate and enable HTTPS.