httpd-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From WC -Sx- Jones <li...@insecurity.org>
Subject Re: [users@httpd] cgi & perl
Date Sun, 01 Jun 2003 08:54:08 GMT

On Sunday, June 1, 2003, at 03:55  AM, Ken Shail wrote:
> The other obstacle that I hit was the htppd2.conf  versus httpd.conf 
> issue.
> Is it as simple as Apache2 using the former and Apache 1 using the 
> latter? Sounds obvious to me but I shouldn't make assumptions.

apache2 expects httpd.conf in the correct install path.  The formats 
between httpd.conf files is about 95% similar -- the major exceptions 
being PORT is no longer supported in Apache2 (use LISTEN instead) and 
the other major issue is that you need to pick a *thread* model -- I 
picked threadpool for my Solaris 9 Ultrasparc.  If you are on linux the 
2.6 kernel is the one I believe supports threadpool -- otherwise 
you must pick preforked process-based.

If you build Apache2 from scratch and try to use an old httpd.conf - 
apache2 will give you very good hints as to what is wrong.


> I initially tried using webmin to administer Apache. That has been 
> useful with other servers.
> Unfortunately it expects httpd.conf and couldn't find it.

I do not believe webmin is set-up to properly handle Apache2 as of yet 
-- I have used webmin a lot myself and I have not seen Apache2 support 
yet.

If you are ready to try to build Apache2 ytourself -- try this command 
at the top level source directory -


./configure --enable-v4-mapped --enable-auth-anon --enable-auth-dbm \
--enable-auth-digest --enable-file-cache --enable-charset-lite \
--enable-cache --enable-disk-cache --enable-mem-cache \
--enable-case-filter --enable-case-filter-in --enable-ext-filter \
--enable-deflate --enable-logio --enable-mime-magic \
--enable-cern-meta --enable-expires --enable-headers \
--enable-usertrack --enable-unique-id --enable-proxy \
--enable-proxy-connect --enable-proxy-ftp --enable-proxy-http \
--enable-optional-hook-export --enable-optional-hook-import \
--enable-optional-fn-import --enable-optional-fn-export \
--enable-bucketeer --enable-static-support \
--enable-static-htpasswd --enable-static-htdigest \
--enable-static-rotatelogs --enable-static-logresolve \
--enable-static-htdbm --enable-static-ab \
--enable-static-checkgid --enable-http --enable-dav \
--enable-info --enable-suexec --enable-cgi --enable-cgid \
--enable-dav-fs --enable-vhost-alias --enable-speling \
--enable-rewrite --enable-so --with-z --with-mpm=threadpool


That, except for mod_perl2 and php432, is how I built my server:

Server Settings, sapi_apache2.c, mod_perl.c, mod_so.c, mod_rewrite.c, 
mod_alias.c, mod_userdir.c, mod_speling.c, mod_actions.c, mod_imap.c, 
mod_dir.c, mod_negotiation.c, mod_vhost_alias.c, mod_dav_fs.c, 
mod_cgid.c, mod_cgi.c, mod_suexec.c, mod_info.c, mod_asis.c, 
mod_autoindex.c, mod_status.c, mod_dav.c, mod_mime.c, http_core.c, 
threadpool.c, mod_bucketeer.c, mod_optional_fn_export.c, 
mod_optional_fn_import.c, mod_optional_hook_import.c, 
mod_optional_hook_export.c, proxy_http.c, proxy_ftp.c, proxy_connect.c, 
mod_proxy.c, mod_setenvif.c, mod_unique_id.c, mod_usertrack.c, 
mod_headers.c, mod_expires.c, mod_cern_meta.c, mod_mime_magic.c, 
mod_env.c, mod_logio.c, mod_log_config.c, mod_deflate.c, mod_include.c, 
mod_ext_filter.c, mod_case_filter_in.c, mod_case_filter.c, 
mod_mem_cache.c, mod_disk_cache.c, mod_cache.c, mod_charset_lite.c, 
mod_file_cache.c, mod_auth_digest.c, mod_auth_dbm.c, mod_auth_anon.c, 
mod_auth.c, mod_access.c, core.c

Server Version: Apache/2.0.46 (Unix) mod_perl/1.99_09 Perl/v5.8.0 
PHP/4.3.2 DAV/2
Server Built: May 30 2003 08:20:23
API Version: 20020903:3
Hostname/port: 192.168.1.69:80
Timeouts: connection: 300    keep-alive: 300
MPM Name: ThreadPool
MPM Information: Max Daemons: 3 Threaded: yes Forked: yes
Server Root: /usr/local/apache2
Config File: conf/httpd.conf


HTH/Sx =)

http://InSecurity.org/
_Sx____________________
  ('>    iudicium ferat
  //\   Have Computer -
  v_/_    Will Hack...

               \|/ ____ \|/
               "@'/ .. \`@"
               /_| \__/ |_\
                  \__U_/


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@httpd.apache.org
   "   from the digest: users-digest-unsubscribe@httpd.apache.org
For additional commands, e-mail: users-help@httpd.apache.org


Mime
View raw message