Mit rss feeds




Download 35,17 Kb.
bet5/7
Sana15.03.2017
Hajmi35,17 Kb.
#55
1   2   3   4   5   6   7



Installation





  1. Log into the Aleph system as user ‘aleph’.


  2. Change directory to the cgi-bin subdirectory of Aleph’s Apache server, and copy the install package there.


  3. Extract the contents with this command:
    tar xvfz <package file>



  4. 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




Download 35,17 Kb.
1   2   3   4   5   6   7




Download 35,17 Kb.