ID #1155

Convert from FTP to http based update/policy downloads (x86 Systems))

Convert from FTP to http based update/policy downloads
This Document is for x86 based systems


Organizations who want to start using http as the primary mode for downloading updates and patches, instead of FTP, should follow these steps. Before proceeding any further, please note that after enabling http download option, ftp will also function.

1: Create a file updater.conf in c:\progra~1\common files\microworld\apache2\conf\

Add the below mentioned content to it found between "#File start updater.conf" and "#File end updater.conf".

#File start updater.conf
NameVirtualHost *:2221
<VirtualHost *:2221>
    ServerName localhost:2221
    ServerAdmin admin@mwti.net
    DocumentRoot "C:/sendinfo"
    ErrorLog "logs/eServ-error.log"
    CustomLog "logs/eServ-access.log" combined
    ErrorDocument 400 "Error Retrieving the Page"
#LogLevel debug
    <IfModule alias_module>
        ScriptAliasMatch (?i)^/dirlist.txt "C:/Progra~1/escan/updater.dll"
           ScriptAliasMatch (?i)^/avx/versions.dat "C:/Progra~1/escan//updater.dll/version"
           ScriptAliasMatch (?i)^/update/(.*) "C:/Progra~1/escan/updater.dll/update"
        AliasMatch (?i)^/update(.*) "C:/pub/update$1"
        AliasMatch (?i)^/avx(.*)    "C:/pub/avx$1"
        AliasMatch (?i)^/deploy(.*) "C:/pub/deploy$1"
        AliasMatch (?i)^/policy(.*) "C:/pub/policy$1"
        AliasMatch (?i)^/log(.*)    "C:/pub/log$1"
    </IfModule>

    <Directory "C:/PUB">
        #Header always unset
        #CheckCaseOnly OFF
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>

    <Directory "C:/sendinfo">
        #Header always unset
        DirectoryIndex index.htm
        #CheckCaseOnly OFF
        Options Indexes FollowSymLinks
        AllowOverride None
        Order allow,deny
        Allow from all
    </Directory>
    
    <Directory "C:/Progra~1/escan">
        #CheckCaseOnly On
        Options FollowSymLinks
        AddHandler isapi-handler .dll
            Options -Indexes FollowSymLinks ExecCGI
            AllowOverride None
            Order allow,deny
            Allow from all
    </Directory>
</VirtualHost>
#File end updater.conf

2: Modify c:\progra~1\common files\microworld\apache2\conf\httpd.conf

3: Locate the line
Listen 10443

4: Add the line below it
Listen 2221

5: The entries should look like this
Listen 10443
Listen 2221

6: Go to the end of httpd.conf file and add the line
Include conf/updater.conf

7: Restart escan-apache service

Tags: -

Related entries:

You can comment this FAQ