100 likes | 162 Views
Learn how Apache web server optimizes ALEPH system, configuration tips, troubleshooting icons & logs, and server starting/restarting guides.
E N D
The Apache Server • Apache is a WWW server • that implements the HTTP protocol. • Apache is one of the fastest HTTP servers available. • It can help to reduce the ALEPH server’s work, thus improving response time. Apache Server
WEB Server - ALEPH - before Apache Includes: • database • ALEPH tables • html pages • programs • icons ALEPH parses request & calls appropriate program ALEPH SERVER listens to client & transfers to server ALEPH FRONT SERVER (4505) http 1.0 CLIENT Apache Server
WEB Server - ALEPH - through Apache Includes: • database • ALEPH tables • html pages • programs • icons ALEPH parses request & calls appropriate program ALEPH SERVER CGI or FAST CGI ALEPH FRONT SERVER (4505) (Kept in Cache) APACHE SERVER http 1.1 listens to client & transfers to front (cgi or fast cgi) CLIENT Apache Server
You Must Use Apache • Starting from version 14.x - ALEPH runs only with apache. • ALEPH front server can still be used for debugging purposes Apache Server
ALEPH and Apache - Useful Information • How to start/restart www_servers : • util-w-3-2 • How to start/restart apache server (root password is needed): • util-w-3-6 • ./alephe/www_front.conf is obsolete • define default ports in for ALEPH www_servers in www_front_cgi.conf Apache Server
ALEPH and Apache - Useful Information • If you do not see icons, cannot use save function in the WEB OPAC, cannot download documents, etc.: • - check if ./apache/htdocs contains all the necessary soft links. Apache does not work with path_convert, that is why all the directories from which direct apache load is executed must be defined as soft links. Apache Server
ALEPH and Apache - Useful Information • Apache configuration files are under ./apache/conf • Apache logs are under ./apache/logs Apache Server
ALEPH and Apache - Useful Information • www_server log files do not have to be stored under $TMPDIR. This directory is insecure (accessible). Apache Server
ALEPH and Apache - Useful Information • www_server log files are stored in the directory defined in aleph_start_505 as LOGDIR: • setenv LOGDIR ${ALEPH_MOUNT}/a5${VERSION_NUMBER}_5/log • It is recommended to choose any directory not defined under www_server_defaults security_path in order to limit access to the log files. • In order to get to the directory containing log files of www_server, make • cd $LOGDIR Apache Server