* oguzeren; <oguze@turk.net> on 08 May, 2003 wrote:
Hi,
1. I learnt in a php book that; in httpd.conf; this line should exist to enable dso for apache: LoadModule php4_modulelibexec/libphp4.so But it doesn't. Should i add it to enable dso?
The way SuSE uses the httpd.conf is different compared to the book you are reading. SuSE does not create a httpd.conf full of modules or lack of modules. The needed modules are loaded via suse_loadmodule.conf (/etc/httpd/suse_loadmodule.conf) which is created, and updated by the mod_XYZ rpms you install. If you look to the /etc/httpd/httpd.conf you will see a line like below which has the modules necessary for the mod_XYZ Include /etc/httpd/suse_loadmodule.conf generally if you want to modify httpd.conf it is recommended that you create a seperate configuration file for your need and have it loaded so whatever you define in that config is applied for example to have the server-status to be allowed from one local network IP create a config admin_stat.conf <IfDefine STATUS> <Location /server-status> SetHandler server-status Order deny,allow Deny from all Allow from 192.168.1.3 localhost </Location> </IfDefine and then add the file name and location to /etc/sysconfig/apache HTTPD_CONF_INCLUDE_FILES="/etc/httpd/admin_stat.conf" when SuSEconfig --module apache is run the new module (the one you just defined will also be parsed and will be applied. This way you do not modify the /etc/httpd.conf yet since it is modular you can basically change the whole thing with the HTTPD_CONF_INCLUDE_FILES parameter.
2. httpd.conf:
# Note: this email address is set by SuSEconfig according to the setting of the # HTTPD_SEC_SERVERADMIN variable in /etc/sysconfig/apache! ServerAdmin webmaster@linux.local
/etc/sysconfig/apache:
# If empty ("") it defaults to root@$FQHOSTNAME. FQHOSTNAME is set in # /etc/sysconfig/network/config. HTTPD_SEC_SERVERADMIN=""
you need to put the full e-mail address here ie serveradmin@mysite.com otherwise if you look at /sbin/conf.d/SuSEconfig.apache you will see that it is created by the following # set the server admin's email address # : ${HTTPD_SEC_SERVERADMIN:=webmaster@$FQHOSTNAME}
And in /etc/sysconfig/network/config; there's no FQHOSTNAME statement. So, which file should i modify?
well basically none as you have already defined /etc/HOSTNAME during install or later on via YaST2 and again /sbin/conf.d/SuSEconfig.apache states as follows if [ -z "$FQHOSTNAME" ] ; then FQHOSTNAME=`cat /etc/HOSTNAME` fi
3. In /var/spool/mail; there's only one spool, and that's root. How can i create another spool for webmaster@linux.local?
by creating an account for webmaster -- Togan Muftuoglu Unofficial SuSE FAQ Maintainer http://dinamizm.ath.cx