Skip to content
Browse files

small fixes

  • Loading branch information...
1 parent e5dbee8 commit 316bf6d73b236732511d7d319b559bc9271215ce @klacke committed Aug 3, 2009
Showing with 6 additions and 4 deletions.
  1. +1 −0 scripts/Install
  2. +3 −3 scripts/yaws.conf.template
  3. +2 −1 src/yaws_server.erl
View
1 scripts/Install
@@ -20,6 +20,7 @@ v=${vardir}
install -d ${destdir}${prefix}/bin
install -d ${destdir}${prefix}/etc
+install -d ${destdir}${vardir}/log/yaws
cat yaws.template | \
./Subst %yawsdir% ${prefix}/lib/yaws | \
View
6 scripts/yaws.conf.template
@@ -102,16 +102,16 @@ pick_first_virthost_on_nomatch = true
# a privileged port (< 1024) unless uid==0
# There is a contrib in jungerl which makes it possible by means
# of an external setuid root programm called fdsrv to listen to
-# to privileged port.
+# a privileged port.
# If we use this feature, it requires fdsrv to be properly installed.
# Doesn't yet work with SSL.
-
+# Read http://yaws.hyber.org/privbind.yaws for more info
use_fdsrv = false
-# end then a set of virtual servers
+# and then a set of virtual servers
# First two virthosted servers on the same IP (0.0.0.0)
# in this case, but an explicit IP can be given as well
View
3 src/yaws_server.erl
@@ -503,9 +503,10 @@ gserv(Top, GC, Group0) ->
{SSLBOOL, CertInfo, {ok, Listen}} ->
lists:foreach(fun(XSC) -> call_start_mod(XSC) end, Group),
error_logger:info_msg(
- "Yaws: Listening to ~s:~w for servers~s~n",
+ "Yaws: Listening to ~s:~w for <~p> virtual servers:~s~n",
[inet_parse:ntoa(SC#sconf.listen),
SC#sconf.port,
+ length(Group),
catch map(
fun(S) ->
io_lib:format("~n - ~s under ~s",

0 comments on commit 316bf6d

Please sign in to comment.
Something went wrong with that request. Please try again.