[PREVIOUS CHAPTER] [NEXT CHAPTER]

8 When you use suEXEC

       http://www.xxx.yyy/~fml/cgi-bin/fml/admin/menu.cgi

    8.1	Condition for suEXEC

    8.2	enable apache to use suEXEC

    # tar zxvf apache_1.3.14.tar.gz
    # cd apache_1.3.14/
    # ./configure --enable-suexec --suexec-caller=nobody
    # make
    # make install

    <Directory /home/*/public_html>
        AllowOverride FileInfo AuthConfig Limit
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI

    AddHandler cgi-script .cgi

    <Directory /home/*/*/public_html>
        AllowOverride FileInfo AuthConfig Limit
        Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec ExecCGI

    AddHandler cgi-script .cgi

    8.3	prepare ~/public_html/

    	% su fml
    	% mkdir ~/public_html
    	% chmod 755 ~/public_html

    	% makefml admin.cgi config

       0     END
       1     USE_MOD_SSL         YES
       2     REAL_CGI_PATH       /usr/local/fml/www/share/cgi-bin/fml
       3     CGI_AUTHDB_DIR      /usr/local/fml/www/authdb
       4     CHANGE PASSWORD
       5     REMAKE CGI SCRIPTS
       6     MTA                 sendmail
       7     HOW TO UPDATE ALIAS newaliases

       which ? (0-7) [0]

    	~/public_html/cgi-bin/fml/admin/*.cgi

    	% su fml
    	% chown -R fml ~/public_html
    	% chgrp -R fml ~/public_html
    	% chmod -R go-w ~/public_html

[PREVIOUS CHAPTER] [NEXT CHAPTER]

    Copyright (C) 1993-2000 Ken'ichi Fukamachi
    All rights of this page is reserved.

    # This Document(html format) is automatically geneareted by fwix.pl.
    # fwix (Formatter of WIX Language) is fml document formatter system
    # designed to generate plaintext, html, texinfo and nroff from one file.