Apache
Written by Kai Dietrich   
Tuesday, 02 January 2007

Apache 1.3.x + mod_ssl

OR: How to create a self-signed certificate


Answer found here: link

1. create key:
$ openssl genrsa -des3 -out server.key 1024

2. create signing request
$ openssl req -new -key server.key -out server.csr

3. remove password from key
$ cp server.key server.key.org
$ openssl rsa -in server.key.org -out server.key


4. sign

$ openssl x509 -req -days 365 -in server.csr -signkey server.key -out server.crt

 

 

PHP5 on gentoo


Building PHP5 on gentoo (dev-lang/php) can be a serious pain. Maybe I just didn't find a good solution, but what i found required me to set a lot of useflags:

etc/portage/package.use:

dev-lang/php apache2 calendar cjk cli ctype curl curlwrappers \
 bcmath dba ftp gd iconv imap inifile memlimit mysql mysqli pcntl \
 pcre posix -recode soap session simplexml sockets spl sqlite \
 tokenizer xml xmlrpc xpm xsl zip zlib

Others have been set by default, so I don't know if the list is complete.
Last Updated ( Wednesday, 19 September 2007 )