Web Server COnfiguration
Web Server COnfiguration
Web Server COnfiguration
org)
2. Click on "Download" link for the latest stable version
3. After being redirect to the download page, Select: "Files for Microsoft Windows"
4. Select one of the websites that provide binary distribution (for example: Apache Lounge)
5. After being redirect to "Apache Lounge" website (https://www.apachelounge.com/download/),
Select: Apache x.x.xx Win64 link
6. After downloaded, unzip the file httpd-x.x.xx-Win64-VC15.zip into C:/
Step 2:
1. Open a command prompt: Run as Administrator
2. Navigate to directory c:/Apache24/bin
3. Add Apache as a Windows Service: httpd.exe -k install
4. In the event of the following error follow Step 3 otherwise jump to Step 4: "The program can't start
because VCRUNTIME140.dll is missing from your computer. Try reinstalling the program to fix this
problem"
Step 3:
1. At Apache Lounge website, check the section "Apache 2.4 VC15 Windows Binaries and Modules" on
the main page
2. Download the file from the link vc_redist_x64 (I.e https://aka.ms/vs/15/release/VC_redist.x64.exe)
3. Install Visual C++ 2017 files
4. Repeat Step 2
Step 4:
1. Open Windows Services and start Apache HTTP Server
2. Open a Web browser and type the machine IP in the address bar and hit Enter
If service is not stopping manually the use below command for kill forcefully
httpd-vhosts.conf httpd.conf
C:\Appache\httpd-2.4.41-win64-VS16\Apache24\conf\extra\https.conf
C:\Appache\httpd-2.4.41-win64-VS16\Apache24\conf\extra\httpd-vhost.conf
Changes in httpd.conf follow as below
6) ServerAdmin if required
<Directory />
AllowOverride none
Require all denied
</Directory>
ServerName http://172.16.1.147:8090/
ProxyPass / http://172.16.1.147:8090/
ProxyPassReverse / http://172.16.1.147:8090/
</VirtualHost>