Securing-Optimizing-RH-Linux-1_2_414
Comments and suggestions concerning this book should be mailed to gmourani@videotron.ca
© Copyright 1999-2000 Gerhard Mourani and Open Network Architecture ®
414
extension=pgsql.so
; Added for PostgreSql support
extension=mysql.so
; Added for MySql support
extension=ldap.so
; Added for LDAP support
Step 2
You must tells php where to look when including files that don't have absolute paths, also to
automatically prepend the contents of phplib's prepend.php3 to each file, and turns off magic
quotes.
Edit the php.ini file (vi /etc/httpd/php.ini) and add the following parameters to the related lines:
magic_quotes_gpc = Off
auto_prepend_file = "/home/httpd/php/prepend.php3"
include_path = "/home/httpd/horde:/home/httpd/php"
Configure Apache to recognize Webmail IMP
Once Webmail IMP has been installed in the system, we must add the following lines in the
httpd.conf file of Apache to be able to locate and use it feature.
Step 1
Edit the httpd.conf file (vi /etc/httpd/conf/httpd.conf) and add the following lines between the
section <IfModule mod_alias.c> and </IfModule>:
Alias /horde/ "/home/httpd/horde/"
<Directory "/home/httpd/horde">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Alias /imp/ "/home/httpd/horde/imp/"
<Directory "/home/httpd/horde/imp">
Options None
AllowOverride None
Order allow,deny
Allow from all
</Directory>
Step 2
You must restart Apache web server for the changes to take effect:
·
To restart Apache, use the following commands:
[root@deep /]# /etc/rc.d/init.d/httpd restart
Shutting down http:
[ OK ]
Starting httpd:
[ OK ]
Configure Webmail IMP via your web browser
Several ways exist to configure Webmail IMP and the one we chose is the new setup engine
named setup.php3 which give people the ability to configure IMP via a web browser.
Step 1
For security reasons, it is disabled by default, but you can enable it with the following commands: