Ticket #6756 (closed enhancement: fixed)
Add startup item for lighttpd
| Reported by: | lbruno@… | Owned by: | jstetser@… |
|---|---|---|---|
| Priority: | Normal | Milestone: | |
| Component: | ports | Version: | 1.0 |
| Keywords: | Cc: | jstetser@…,markd@… | |
| Port: |
Description
The patch I'll attach later creates a server variant for lighttpd, where a startup item is created. Needs work: the default lighttpd.conf should be changed to produce a .pid file, for example. Other changes, like the /Library/WebServer docroot on Mac OS X or /var/www/<something> on other platforms might be a good idea too.
Attachments
Change History
Changed 7 years ago by lbruno@…
- Attachment lighttpd.server-variant.patch added
comment:1 Changed 7 years ago by blb@…
- Owner changed from darwinports-bugs@… to jstetser@…
Assign to maintainer.
comment:2 Changed 7 years ago by jstetser@…
- Status changed from new to assigned
- Cc jstetser@… added
I'll work with this; it's not the most common use of lighttpd on Mac OS X I've seen (which is as a Rails development server), but I can understand the need for it.
I'll use a minimal default config file to mimic Mac OS X's built-in webserver. Sound good? :)
comment:3 Changed 7 years ago by lbruno@…
I'll use a minimal default config file to mimic Mac OS X's built-in webserver. Sound good? :)
Yes, perfect! I don't know if darwinports has to deal with other styles, like using /var/www for the docroot; that's why I wanted to catch the ear of a maintainer and ask, before sending a default .conf file which doesn't work on OpenDarwin, for example.


adds +server for lighttpd; needs work: the default .conf file needs work