Changes between Version 6 and Version 7 of jazz/11-02-26
- Timestamp:
- Feb 26, 2011, 7:47:59 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
jazz/11-02-26
v6 v7 39 39 * 參考 /usr/share/doc/wordpress/examples/apache.conf 設定 Apache 40 40 {{{ 41 ~$ cat > wordpress << EOF 42 <VirtualHost *:80> 43 VirtualDocumentRoot /usr/share/wordpress/ 44 ServerName ${DNS_of_WORDPRESS} 45 ErrorLog /var/log/apache2/wp-error.log 46 TransferLog /var/log/apache2/wp-access.log 47 </VirtualHost> 48 EOF 49 ~$ sudo mv wordpress /etc/apache2/sites-available/wordpress 50 ~$ sudo a2ensite wordpress 51 ~$ sudo apache2ctl restart 52 ~$ sudo apache2ctl -S -t 41 53 }}}