[PREVIOUS CHAPTER] [NEXT CHAPTER]
3 CGI

3.1	when I forget remote administrator passwords

makefml admin.cgi config

	MENU -> CHANGE PASSWORD

3.2	when I forget remote administrator passwords for elena ML CGI

makefml ml-admin.cgi elena config

	MENU -> CHANGE PASSWORD


3.3	permission denied when newaliases runs


In sendmail, newaliaes (root process) creates/update these .db files:

       /etc/aliaes.db  /var/spool/ml/etc/aliases.db


       /etc/aliaes.db  /var/spool/ml/etc/aliases.db


FYI:

/etc/aliaes

/etc/aliaes.db

/var/spool/ml/etc/aliases

/var/spool/ml/etc/aliases.db


3.4	apache's configuration error?


Firstly check /usr/local/apache/logs/errors_log.
Secondary check "User" line of httpd.conf. 
It should be the same as user "fml" which owns /var/spool/ml.


3.5	symlink ?


check "Options FollowSymLinks" for the directiry directive.


3.6	aliases not updated when I make a ML by CGI ?


Hmm, it is broken. Check the follwoing possibilities.


* fml specific


1. /var/spool/ml/etc/aliases has the ML entry you made. 

	/var/spool/ml/etc/aliases.pag
	/var/spool/ml/etc/aliases.dir


2. the date of /var/spool/ml/etc/aliases.db is newer than aliases


* OS specific


1. AliasFile of sendmail.cf

	O AliasFile=/etc/aliases,/var/spool/ml/etc/aliases


2. run newaliases and it shows two lines ?

   /etc/mail/aliases: 30 aliases, longest 49 bytes, 886 bytes total
   /var/spool/ml/etc/aliases: 20 aliases, longest 26 bytes, 239 bytes total


3.7	Invalid command 'SSLRequireSSL'


Q: /usr/local/apache/logs/error_log shows the following error. What is it? 


[Thu May 25 18:49:40 2000] [alert] [client xxx.xxx.xxx.xxx] \
                           /usr/local/fml/share/cgi-bin/fml/admin/.htaccess: \
                           Invalid command 'SSLRequireSSL', perhaps mis-spelled \
                           or defined by a module not included in the server \ 
                           configuration


A: 


1. check the grammer for .htaccess


2. check whether normail apache or apache + ssl. For example
   apache + mod_ssl shows the following staring message in error_log:

	[notice] Apache/1.3.12 (Unix) mod_ssl/2.6.4 OpenSSL/0.9.5a
	configured -- resuming normal operations


but normal apache shows

	Apache/1.3.12 (Unix) configured -- resuming normal operations


[PREVIOUS CHAPTER] [NEXT CHAPTER]