Changes between Version 6 and Version 7 of jazz/11-02-26


Ignore:
Timestamp:
Feb 26, 2011, 7:47:59 PM (14 years ago)
Author:
jazz
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • jazz/11-02-26

    v6 v7  
    3939 * 參考 /usr/share/doc/wordpress/examples/apache.conf 設定 Apache
    4040{{{
     41~$ cat > wordpress << EOF
     42<VirtualHost *:80>
     43VirtualDocumentRoot /usr/share/wordpress/
     44ServerName ${DNS_of_WORDPRESS}
     45ErrorLog /var/log/apache2/wp-error.log
     46TransferLog /var/log/apache2/wp-access.log
     47</VirtualHost>
     48EOF
     49~$ sudo mv wordpress /etc/apache2/sites-available/wordpress
     50~$ sudo a2ensite wordpress
     51~$ sudo apache2ctl restart
     52~$ sudo apache2ctl -S -t
    4153}}}