New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #17774 (new enhancement)

Opened 3 years ago

Last modified 16 months ago

Provide a more usable default-configuration for Lighty/lighttpd

Reported by: mr_bond@… Owned by: ryandesign@…
Priority: Normal Milestone:
Component: ports Version: 1.6.0
Keywords: configfile Cc: scurippio@…
Port: lighttpd

Description

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.

Change History

Changed 3 years ago by anonymous

  • milestone Port Bugs deleted

Milestone Port Bugs deleted

Changed 3 years ago by toby@…

  • priority changed from High to Normal

Changed 2 years ago by ryandesign@…

  • cc ryandesign@… added

Cc Me!

Changed 2 years ago by ryandesign@…

  • owner changed from pguyot@… to ryandesign@…

Changed 21 months ago 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/

Changed 21 months ago by scurippio@…

  • cc scurippio@… added

Cc Me!

Changed 16 months ago by jmr@…

  • cc mr_bond@…, ryandesign@… removed
  • keywords lighttpd removed
  • port changed from www/lighttpd to lighttpd
Note: See TracTickets for help on using tickets.