Installing and configuring Parser

Parser is available as:
·CGI-script (and interpreter);  
·module of web-server Apache, version 1.3;  
·ISAPI extension of Microsoft Internet Information Server, version 4.0 or higher.  

One can also install drivers for various SQL-servers (currently supported: MySQL, PgSQL, Oracle, ODBC).

Description of directories and files:
parser3[.exe] - CGI-script (and interpreter);
ApacheModuleParser3.dll - module of web-server Apache, version 1.3;
parser3isapi.dll - ISAPI extension of Microsoft Internet Information Server, version 4.0 or higher.

auto.p.dist - example of Configuration file

parser3.charsets/
- - directory with charset tables:

koi8-r.cfg

 - Cyrillic [KOI8-R]

windows-1250.cfg

 - Central european[windows-1250]

windows-1251.cfg

 - Cyrillic[windows-1251]

windows-1257.cfg

 - Baltic[windows-1257]


As long as Parser is open-source project, you can compile it on your own (see "Compiling Parser from source code") and create your own SQL-driver.
Already compiled versions of Parser and SQL-drivers for certain platforms are available at http://www.parser.ru/en/download/
.
Note: for security reasons, these versions were compiled in such a way that they can read and execute only those files which belong to the user or user group under the name of which Parser itself works.

How are configuration files linked?

For CGI-script (
parser3[.exe]):
configuration file is read from file specified in environment variable
CGI_PARSER_CONFIG.
If this variable is not defined, Parser will search for the file in directory with CGI-script itself.

For Apache module, path to configuration file is specified by directive:

#can be in .htaccess
ParserConfig full_path


For ISAPI extension (
parser3isapi.dll):
configuration file will be searched for in the directory with
.dll file itself.


Copyright © 1997–2010 Art. Lebedev Studio | http://www.artlebedev.com Last updated: 04.09.2008