[MacPorts] #17774: Provide a more usable default-configuration for Lighty/lighttpd
#17774: Provide a more usable default-configuration for Lighty/lighttpd ----------------------------------+----------------------------------------- Reporter: mr_bond@… | Owner: pguyot@… Type: enhancement | Status: new Priority: High | Milestone: Port Bugs Component: ports | Version: 1.6.0 Keywords: lighttpd configfile | Port: www/lighttpd ----------------------------------+----------------------------------------- The default configuration file is not well suited for OS X or Macports. We should provide a sane default, so users easily can start using the package. The config-file in Macports, looks like it's been taken directly out of SLES/SuSELinux. server.document-root, should be something inside macports, like /opt/local/www/htdocs, or /opt/local/www/data. the user/gid, should be the user created by macports, "_www", not "wwwrun". The config should be usable almost out of the box. Novice users will spend many hours debugging theese things, and then turn to the irc-channel or such for help. Maybee they will end up not using lighttpd at all, or use it on a system with "easier to use" packages. It is very nice that the port has a launchdaemon launcer. -- Ticket URL: <http://trac.macports.org/ticket/17774> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17774: Provide a more usable default-configuration for Lighty/lighttpd ---------------------------------+------------------------------------------ Reporter: mr_bond@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Component: ports Version: 1.6.0 | Keywords: lighttpd configfile Port: www/lighttpd | ---------------------------------+------------------------------------------ Comment(by scurippio@…): I've few hints about this package. These are the steps I did to get lighttpd serving my first page: 2010-05-21 19:14:40: (network.c.345) can't bind to port: 127.0.0.1 81 Permission denied ** I've changed port to 10080 2010-05-21 19:13:52: (server.c.657) opening pid-file failed: /opt/local/var/run/lighttpd.pid Permission denied sudo chown www: /opt/local/var/run/lighttpd.pid 2010-05-21 19:15:16: (log.c.118) opening errorlog '/opt/local/var/log/lighttpd/error.log' failed: Permission denied sudo chown -R www: /opt/local/var/log/lighttpd/ Aftern enabling fastcgi module: 2010-05-21 19:26:22: (mod_fastcgi.c.978) bind failed for: unix:/opt/local/var/run/lighttpd/php-fastcgi.socket-0 Permission denied sudo chown -R www: /opt/local/var/run/lighttpd/ -- Ticket URL: <http://trac.macports.org/ticket/17774#comment:5> MacPorts <http://www.macports.org/> Ports system for Mac OS
#17774: Provide a more usable default-configuration for Lighty/lighttpd ----------------------------------+----------------------------------------- Reporter: mr_bond@… | Owner: ryandesign@… Type: enhancement | Status: new Priority: Normal | Milestone: Component: ports | Version: 1.6.0 Keywords: configfile | Port: lighttpd ----------------------------------+----------------------------------------- Changes (by jmr@…): * cc: mr_bond@…, ryandesign@… (removed) * keywords: lighttpd configfile => configfile * port: www/lighttpd => lighttpd -- Ticket URL: <https://trac.macports.org/ticket/17774#comment:7> MacPorts <http://www.macports.org/> Ports system for Mac OS
participants (1)
-
MacPorts