Install using ESMC All-in-one installer | Install manually | Configure policy settings for client computers
Install Apache HTTP Proxy on your network to automatically distribute detection engine updates and program component updates to client workstations. This arrangement allows for an additional layer of security—clients that are protected by a firewall and/or cannot download updates directly from ESET servers can download normal updates from a protected server configured to communicate securely with ESET servers. This arrangement limits exposure to threats for client workstations. For client computers on your network to receive updates from Apache HTTP Proxy, their update settings must be edited.
It is recommended to install Apache HTTP Proxy when more than 37 workstations are managed on your network by ESET Security Management Center.
Currently, setting up Apache HTTP Proxy is the primary method for caching detection engine update files. Users who attempt to set up a local repository on the ESET Security Management Center Server may receive the following error:
Figure 1-1
Click the image to view larger in new window
Figure 1-2
Click the image to view larger in new window
httpd.conf
) contains a ProxyMatch
for your server host.Click to see the instructions to manually upgrade Apache HTTP Proxy
CD C:\Program Files\
Apache HTTP Proxy
\bin
httpd.exe -k install -n ApacheHttpProxy
ServerRoot "C:\Program Files\Apache HTTP Proxy"
DocumentRoot "C:\Program Files\Apache HTTP Proxy\htdocs"
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
CacheRoot "C:\Program Files\Apache HTTP Proxy\cache"
sc start ApacheHttpProxy
Figure 2-1
Click the image to view larger in new window
Verify the presence of the following modules loaded in httpd.conf:
LoadModule authn_core_module modules/mod_authn_core.dll
LoadModule authn_file_module modules/mod_authn_file.dll
LoadModule authz_groupfile_module modules/mod_authz_groupfile.dll
LoadModule auth_basic_module modules/mod_auth_basic.dll
Add the following lines to httpd.conf under <Proxy *>
:
AuthType Basic
AuthName "Password Required"
AuthUserFile password.file
AuthGroupFile group.file
Require group usergroup
Open an administrative command prompt and type the following commands to define your password for Apache HTTP Proxy:CD C:\Program Files\
Apache HTTP Proxy
\binhtpasswd.exe -c ..\password.file username
You will be prompted to define the password that you want to use for Apache HTTP Proxy. Type your new password into the command prompt and press Enter.
In the folder C:\Program Files\Apache HTTP Proxy
\, create a new text file named group.file with the following contents:
usergroup:username
httpd.conf
) contains a ProxyMatch
for your server host.Stop the ApacheHttpProxy service by opening an administrative command prompt and executing the following command:sc stop ApacheHttpProxy
Download the Apache HTTP Proxy installer file and extract its content to the directory of C:\Program Files\Apache HTTP Proxy\ overwriting the existing files.
Download Apache HTTP Proxy
Navigate to C:\Program Files\Apache HTTP Proxy\conf\, right-click httpd.conf, from the context menu select Open with → Notepad.
Add the following code at the bottom of that .conf file:
ServerRoot "C:\Program Files\Apache HTTP Proxy"
DocumentRoot "C:\Program Files\Apache HTTP Proxy\htdocs"
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
CacheRoot "C:\Program Files\Apache HTTP Proxy\cache"
If you set username / password authentication to access your Apache HTTP Proxy earlier (step number 8 in the installation section above), then replace the following block of code:
Deny from all
with the following (it can be found in your backed-up httpd.conf file):
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 any other custom modifications in the httpd.conf file of your previous installation of Apache HTTP Proxy, then you can copy over those modifications from the backed-up httpd.conf file to the new (upgraded) httpd.conf file.Save the changes and Start the the ApacheHttpProxy service by executing the following command in an administrative command prompt:
Test the connection to HTTP Proxy by accessing the following URL in your browser:
http://localhost:3128/index.html