Suexec and Apache: A Tutorial Page 9
If you have a particular Apache-related topic that you'd like covered in a future article in this column, please let me know; drop me an email at <coar@Apache.Org>. I do read and answer my email, usually within a few hours (although a few days may pass if I'm travelling or my mail volume is way up). If I don't respond within what seems to be a reasonable amount of time, feel free to ping me again.
About the Author
Ken Coar is a member of the Apache Group and a director and vice president of the Apache Software Foundation. He is also a core member of the Jikes open-source Java compiler project, a contributor to the PHP project, the author of Apache Server for Dummies, and a contributing author to Apache Server Unleashed. He can be reached via email at <email@example.com>.
Appendix: Building Apache at Lightspeed
If you need to build Apache from source in order to add or change the
% cd ./apache-1.3 % env CC=gcc CFLAGS="-O2 -Wall" \ > ./configure --enable-shared=max --enable-module=most \ > --with-layout=Apache --prefix=/usr/local/web/apache \ > --with-port=80 \ > --enable-suexec \ > --suexec-caller=nobody \ > --suexec-docroot=/usr/local/web \ > --suexec-umask=022 Configuring for Apache, Version 1.3.12-dev + using installation path layout: Apache (config.layout) + Warning: You have enabled the suEXEC feature. Be aware that you need + root privileges to complete the final installation step. Creating Makefile Creating Configuration.apaci in src [more configuration output] % make [lots of compilation output] % make install [lots more output describing file placement] % /usr/local/web/apache/bin/apachectl start