Upgrade Apache HTTP Proxy manually (Windows)

To upgrade Apache HTTP Proxy to the most recent version, follow the steps below.

1.Back up the following files:

C:\Program Files\Apache HTTP Proxy\conf\httpd.conf

C:\Program Files\Apache HTTP Proxy\bin\password.file

C:\Program Files\Apache HTTP Proxy\bin\group.file

2.Stop the ApacheHttpProxy service by opening an admnistrative command prompt and executing the following command:

sc stop ApacheHttpProxy

3.Download the Apache HTTP Proxy installer file from ESET download site and extract its contents to C:\Program Files\Apache HTTP Proxy\. During the extraction overwrite the existing files.

4.Navigate to C:\Program Files\Apache HTTP Proxy\conf, right-click httpd.conf, from the context menu and select Open with > Notepad.

5.Add the following code at the bottom of httpd.conf:

ServerRoot "C:\Program Files\Apache HTTP Proxy"
DocumentRoot "C:\Program Files\Apache HTTP Proxy\htdocs"
<Directory "C:\Program Files\Apache HTTP Proxy\htdocs">
 Options Indexes FollowSymLinks
 AllowOverride None
 Require all granted
CacheRoot "C:\Program Files\Apache HTTP Proxy\cache"

6.If you set a username/password to access your Apache HTTP Proxy (Apache HTTP Proxy installation topic), replace the following block of code:

<Proxy *>
 Deny from all

with this one (found in your backed-up httpd.conf file you backed up in step 1):

<Proxy *>
 AuthType Basic
 AuthName "Password Required"
 AuthUserFile password.file
 AuthGroupFile group.file
 Require group usergroup
 Order deny,allow
 Deny from all
 Allow from all

If you had other customizations made to your httpd.conf file in place in your previous installation of Apache HTTP Proxy, you can copy over those modifications from the backed-up httpd.conf file to the new (upgraded) httpd.conf file.

7.Save your changes and start the ApacheHttpProxy service by executing the following command in an administrative command prompt:

sc start ApacheHttpProxy

8.Update the version in the service description.

sc description ApacheHttpProxy "Apache/2.4.43"

9.Test the connection to Apache HTTP Proxy by accessing the following URL in your browser:

http://[IP address]:3128/index.html


See the Apache HTTP Proxy log files if you need to troubleshoot an issue.