Install Python Prerequisites
Version: 2.6.2
File Name: python-2.6.2.msi
Install
Execute python-2.6.2.msi and follow instructions keeping default values.
NB: Install as an Administrator and make python available to all users.
Install LXML Prerequisites
Version: 2.2.1
File Name: lxml-2.2.1.win32-py2.4.exe
Install
Execute lxml-2.2.1.win32-py2.4.exe and follow instructions keeping default values.
Install mod_wsgi Prerequisites
Version: 3.3
File Name: mod_wsgi-win32-ap22py26-3.3.so
Install
copy mod_wsgi-win32-ap22py26-3.3.so to mod_wsgi.so into the modules directory under Apache installation directory.
edit httpd.conf in conf directory under Apache installation directory and add the following line after the last one beginning with “LoadM;odule …”:
LoadModule wsgi_module modules/mod_wsgi.so
restart Apache
Install IPCA6TransDef Prerequisites
Version: 1.1
File Name: ipca6transdef.zip
For each edition to translate, the definitions masterfiles in Authentic Languages must be inside a Data Folder. Example:
C:\IPC\data\20090101\ipcr_elayer_definitions\ipcr_elayer_definitions_20090101.xml
Install
extract ipca6transdef.zip to c:\
edit httpd.conf in conf directory under Apache installation directory and add the following lines after the comments section with “# Aliases: …”:
WSGIPythonPath C:/ipca6transdef/defedit;C:/python24
WSGIScriptAlias /definitionsEditor C:/ipca6transdef/defedit/defedit.py
Order allow,deny
Allow from all
ExpiresActive Off
FileETag None
Alias /ipca6transdef "C:/ipca6transdef/"
Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all
Alias /ipcdata "C:/ipc/data"
Options Indexes Multiviews
AllowOverride None
Order allow,deny
Allow from all
ExpiresActive Off
FileETag None
Uncomment the following line:
LoadModule expires_module modules/mod_expires.so
edit C:/ipca6transdef/defedit/config.cfg and modify it as necessary.
restart Apache
start a web browser and go to :
http://localhost/ipca6transdef/manager.html
start a web browser and go to :
http://localhost/ipca6transdef/index.html
Note: to access the application from a remote PC you have to replace localhost by your web server root location.
22/12/19 ver 1.1
|