httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Rich Bowen <rbo...@rcbowen.com>
Subject Re: [PATCH] Remove Port from httpd.conf
Date Sun, 09 Mar 2003 13:42:48 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Sun, 9 Mar 2003, Rich Bowen wrote:

> Perhaps for a version or two we need Port and BindAddress in there, with
> the deprecated messages, because people expect to see them, and then
> remove them entirely in some future version.

OK, how's this as a compromise:

Index: httpd.conf-dist
===================================================================
RCS file: /home/cvs/apache-1.3/conf/httpd.conf-dist,v
retrieving revision 1.83
diff -B -b -u -r1.83 httpd.conf-dist
- --- httpd.conf-dist	28 Feb 2003 13:36:03 -0000	1.83
+++ httpd.conf-dist	9 Mar 2003 13:41:46 -0000
@@ -173,16 +173,25 @@
 #
 #Listen 3000
 #Listen 12.34.56.78:80
+Listen 80

 #
 # BindAddress: You can support virtual hosts with this option. This directive
 # is used to tell the server which IP address to listen to. It can either
 # contain "*", an IP address, or a fully qualified Internet domain name.
+# BindAddress is deprecated, and you should use Listen instead.
 # See also the <VirtualHost> and Listen directives.
 #
 #BindAddress *

 #
+# Port: The port to which the standalone server listens. For
+# ports < 1023, you will need httpd to be run as root initially.
+# Port is deprecated, and you should use Listen instead
+#
+#Port 80
+
+#
 # Dynamic Shared Object (DSO) Support
 #
 # To be able to use the functionality of a module which was built as a DSO you
@@ -224,12 +233,6 @@
 # effect since their settings are defined by the inetd configuration.
 # Skip ahead to the ServerAdmin directive.
 #
- -
- -#
- -# Port: The port to which the standalone server listens. For
- -# ports < 1023, you will need httpd to be run as root initially.
- -#
- -Port 80

 #
 # If you wish httpd to run as a different user or group, you must run

- -- 
Rich Bowen - rbowen@rcbowen.com
ReefKnot - http://www.reefknot.org
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Made with pgp4pine 1.75-6

iD8DBQE+a0TfXP03+sx4yJMRAuRvAJ9JixWroO64PKpJ8fWt2AW0wC7F+gCg3dEg
2uWZ/h5TK3TecqRcnyuZDk0=
=44c4
-----END PGP SIGNATURE-----


Mime
View raw message