===Apache=== ==Authentication== Use .htaccess and .htpasswd .htpasswd does not have to be in the same directory as .htaccess, but .htaccess must be in the directory or a sub. In /etc/httpd/conf/httpd.conf, in the section change to Allow Override All ===SSL=== ==using https://== listens on port 443 Generating a key (already done in SL) http://my.ezpublishing.com/kb/idx/0/127/article/Generating_a_self_signed_digital_certificate_for_Apache.html openssl genrsa -out key.pem 1024 openssl req -new -key key.pem -out request.pem openssl req -x509 -days 360 -key key.pem -in request.pem -out certificate.pem main apache configuration file in: /etc/httpd/conf/http.conf look for other configuration files called from previous config file in(after all the loads): /etc/httpd/conf.d/ssl.conf The key is already generated as referenced in the ssl.conf file by SSLCertificateFile /etc/httpd/conf/ssl.crt/server.crt SSLCertificateKeyFile /etc/httpd/conf/ssl.key/server.key ---- === Setup (apache2) === [[http://gentoo-wiki.com/HOWTO_Apache2]]