On Wed, Jul 10, 2002 at 07:49:25AM -0700, Joshua Slive wrote:
> On Wed, 10 Jul 2002 [EMAIL PROTECTED] wrote:
> > In apache 1.3 we had this little trick:
> >
> > if [ "x`$aux/getuid.sh`" != "x0" -a "x$port" = "x" ]; then
> > conf_port="8080"
> > fi
> >
> > to make the port 8080 when the user is not root - thus to reduce the
> > number of 'apache wont start' newby errors and be generally convenient for
> > the masses (and disorganized people like me).
> >
> > Has that been dropped from 2.0 for a reason or by accident ?
>
> In my opinion, that was never a good idea. The newbie users are simply
> confused by this, because they have a server which starts up but can't be
> accessed at http://localhost/. And people who do very sensible things
> like build/install as non-root and then startup as root must go through an
> extra step to fix this change.
How about an extra echo:
if [ "x`$aux/getuid.sh`" != "x0" -a "x$port" = "x" ]; then
conf_port="8080"
echo "Non-root process. Server will run on port $conf_port"
fi
?
regards,
jaju