ESET Online Help

Search English
Select the category
Select the topic

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 2.[x.xx]\conf\httpd.conf

C:\Program Files\Apache HTTP Proxy 2.[x.xx]\bin\password.file

C:\Program Files\Apache HTTP Proxy 2.[x.xx]\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 2.[x.xx]\. During the extraction overwrite the existing files.

4.Navigate to C:\Program Files\Apache HTTP Proxy 2.[x.xx]\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 2.[x.xx]"
DocumentRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs"
<Directory "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\htdocs">
 Options Indexes FollowSymLinks
 AllowOverride None
 Require all granted
</Directory>
CacheRoot "C:\Program Files\Apache HTTP Proxy 2.[x.xx]\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
</Proxy>

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
</Proxy>


important

If there were other customizations made to httpd.conf file in the previous installation of Apache HTTP Proxy, copy the configuration 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.