Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 145522 - www-servers/lighttpd init script SSL support
Summary: www-servers/lighttpd init script SSL support
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: www-servers Herd (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-08-29 12:59 UTC by Alexander Simonov
Modified: 2006-09-29 13:35 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
Patch for SSL support (lighttpd.patch,3.12 KB, patch)
2006-08-29 13:00 UTC, Alexander Simonov
Details | Diff
config file for init script (lighttpd,314 bytes, text/plain)
2006-08-29 13:01 UTC, Alexander Simonov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Simonov 2006-08-29 12:59:19 UTC
Init script for lighttpd not support SSL.
If we want have SSL and non-SSL lighttpd both we must start two copy of lighttpd.
Comment 1 Alexander Simonov 2006-08-29 13:00:40 UTC
Created attachment 95412 [details, diff]
Patch for SSL support
Comment 2 Alexander Simonov 2006-08-29 13:01:47 UTC
Created attachment 95413 [details]
config file for init script
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-08-29 13:19:42 UTC
Comment on attachment 95412 [details, diff]
Patch for SSL support

Don't stick stuff like "need famd" into the init script, it's wrong.
Comment 4 Alexander Simonov 2006-08-29 13:23:48 UTC
(In reply to comment #3)
> (From update of attachment 95412 [details, diff] [edit])
> Don't stick stuff like "need famd" into the init script, it's wrong.
> 
I am only add support for SSL and nothing another. My script based on script from portage.

Comment 5 Alexander Simonov 2006-08-29 13:26:18 UTC
Something strange.
By my script SSL version stopped fine, but non-SSL still works. What I did wrong?
Comment 6 Jari-Matti Mäkelä 2006-09-29 06:19:00 UTC
Having two different init scripts for lighttpd does not have anything to do with SSL support. It's just creating two separate webserver processes.

You can achieve the same SSL functionality by using conditional compilation. See http://trac.lighttpd.net/trac/wiki/Docs:SSL and http://trac.lighttpd.net/trac/wiki/Docs:Configuration.

I'm not sure if there are any performance benefits in using two server processes. 1.4.12 release improves the performance of mod_cml with mod_magnet. In addition to that you can use several backend processes for dynamic content.
Comment 7 Thilo Bangert (RETIRED) (RETIRED) gentoo-dev 2006-09-29 13:35:16 UTC
yes, please see the above mentioned documentation on how to configure lighttpd for SSL and non-SSL using a single server. thank you.