WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: httpd with SSL  (Read 2153 times)

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
httpd with SSL
« on: July 06, 2009, 02:51:27 PM »
Are any of the httpd servers configured with SSL support?
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline danielibarnes

  • Hero Member
  • *****
  • Posts: 548
Re: httpd with SSL
« Reply #1 on: July 06, 2009, 03:55:45 PM »
I compiled lighttpd "--with-openssl". If you can, please let me know if that does what you need.

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: httpd with SSL
« Reply #2 on: July 06, 2009, 04:06:21 PM »
thanks, I'll try it out later, hopefully I can get php to work with it  :)
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: httpd with SSL
« Reply #3 on: July 06, 2009, 09:26:42 PM »
The lighttpd from TC 1.X works for TC 2.X. I haven't gotten around to trying the SSL features yet.
I looked into PHP for lighttpd. In order for lighttpd to use PHP it needs to be configured with cgi/fastcgi and not with the apache module. I don't see this as a problem to build, I would just have to build a different version of the PHP extension that isn't dependent on Apache and has cgi/fastcgi enabled.

I like the idea of lighttpd over apache due to the size difference, speed, and ease of use. I just submitted an update extension for php5 for TC 2.X. I'll create a new extension tomorrow called php5-cgi to be used with lighttpd. Also it looks like the lighttpd can be carried over to TC 2.X.
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard

Offline robc

  • Sr. Member
  • ****
  • Posts: 447
Re: httpd with SSL
« Reply #4 on: July 07, 2009, 05:55:43 PM »
I was able to successfully build a cgi version of php 5.3.0. It will work for both apache2 and lighttpd web servers. setup instructions for either will be in the info file. Though, it is not recommended to use the cgi version with apache2 unless you know what you are doing. If you prefer apache over lighttpd then use the regular php5 extension which has the apache module. I will submit this version to tcesubmit shortly.

now on to test the SSL features of lighttpd  :)

Edit: The SSL features work. It is pretty straight forward to setup. Look at the wiki for lighttpd
« Last Edit: July 07, 2009, 06:54:51 PM by robc »
"Never give up! Never surrender!" - Commander Peter Quincy Taggart

"Make it so." - Captain Picard