Opened 15 years ago

Last modified 14 years ago

#17774 new enhancement

Provide a more usable default-configuration for Lighty/lighttpd

Reported by: mr_bond@… Owned by: ryandesign (Ryan Carsten Schmidt)
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 (7)

comment:1 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

comment:2 Changed 15 years ago by tobypeterson

Priority: HighNormal

comment:3 Changed 15 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added

Cc Me!

comment:4 Changed 14 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from pguyot@… to ryandesign@…

comment:5 Changed 14 years 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/

comment:6 Changed 14 years ago by scurippio@…

Cc: scurippio@… added

Cc Me!

comment:7 Changed 14 years ago by jmroot (Joshua Root)

Cc: mr_bond@… ryandesign@… removed
Keywords: lighttpd removed
Port: lighttpd added; www/lighttpd removed
Note: See TracTickets for help on using tickets.