Changes between Version 2 and Version 3 of jazz/apache2ssl


Ignore:
Timestamp:
Jul 16, 2008, 5:25:02 PM (16 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/apache2ssl

    v2 v3  
     1{{{
     2trac-pool:~# apt-get install ssl-cert openssl
     3trac-pool:~# a2enmod ssl
     4trac-pool:~# mkdir /etc/apache2/ssl
     5trac-pool:~# make-ssl-cert /usr/share/ssl-cert/ssleay.cnf /etc/apache2/ssl/apache.pem
     6trac-pool:~# cp /etc/apache2/sites-available/default /etc/apache2/sites-available/ssl
     7trac-pool:~# ln -s /etc/apache2/sites-available/ssl /etc/apache2/sites-enabled/ssl
     8trac-pool:~# vi /etc/apache2/sites-available/default
     9}}}
     10{{{
     11#!diff
     12--- /etc/apache2/sites-available/default.bak    2008-07-16 17:23:51.000000000 +0800
     13+++ /etc/apache2/sites-available/default        2008-07-16 17:24:22.000000000 +0800
     14@@ -1,5 +1,5 @@
     15-NameVirtualHost *
     16-<VirtualHost *>
     17+NameVirtualHost *:80
     18+<VirtualHost *:80>
     19        ServerAdmin webmaster@localhost
    120
     21        DocumentRoot /var/www/
     22}}}
    223== Reference ==
    324 * http://linuxnews.idv.tw/?p=35