|
Mit rss feeds
|
bet | 5/7 | Sana | 15.03.2017 | Hajmi | 35,17 Kb. | | #55 |
-
Log into the Aleph system as user ‘aleph’.
-
Change directory to the cgi-bin subdirectory of Aleph’s Apache server, and copy the install package there.
-
Extract the contents with this command:
tar xvfz <package file>
-
Add these directives to the .htaccess file in Apache’s DocumentRoot directory e.g. /exlibris/aleph/u22_1/alephe/apache/htdocs/.htaccess.
# Rewrite rules for Aleph API Adapter
RewriteEngine On
RewriteBase /
RewriteCond %{REQUEST_URI} ^/rest-dlf/
RewriteRule (rest-dlf/.*) /cgi-bin/api_adapter.cgi?parm1=$1 [E,L]
If the ‘RewriteEngine’ and ‘RewriteBase’ directives already exist in .htaccess, they do not need to be repeated.
If the use of htdocs/.htaccess is not enabled on the Aleph system in question, the rewrite rules can either be included at the appropriate place in the Apache configuration, or the use of .htaccess enabled by making a change in Apache’s httpd.conf file. The default version of httpd.conf contains this stanza:
Options FollowSymLinks MultiViews
|
| |