Ubuntu 13.10安裝Drupal 6筆記
延續之前 Ubuntu 13.10安裝Drupal 6筆記
sudo a2enmod rewrite && sudo service apache2 restart
sudo a2enmod rewrite && sudo service apache2 restart
Virtual Host不用寫rewrite相關資訊,所以照之前的寫就好
/etc/apache2/conf-enabled/virtual.conf
<VirtualHost i7.mysite.com.tw>
ServerAdmin ts@mysite.com.tw
ServerName i7.mysite.com.tw
ServerAlias i7.mysite.com.tw
# Indexes + Directory Root.
DocumentRoot /home/liaozi/i7
<Directory /home/liaozi/i7/>
DirectoryIndex index.php
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Logfiles
ErrorLog /var/log/apache2/mysite-error.log
CustomLog /var/log/apache2/mysite-access.log common
</VirtualHost>
<VirtualHost i7.mysite.com.tw>
ServerAdmin ts@mysite.com.tw
ServerName i7.mysite.com.tw
ServerAlias i7.mysite.com.tw
# Indexes + Directory Root.
DocumentRoot /home/liaozi/i7
<Directory /home/liaozi/i7/>
DirectoryIndex index.php
Options Indexes FollowSymLinks
AllowOverride All
Require all granted
</Directory>
# Logfiles
ErrorLog /var/log/apache2/mysite-error.log
CustomLog /var/log/apache2/mysite-access.log common
</VirtualHost>
由於php5版本的關係,會有views錯誤訊息
這個錯誤訊息我在Godaddy主機上面也有遇到
我是直接關閉錯誤訊息解決這個問題
strict warning: Non-static method view::load() should not be called statically in /home/lianhung/i7/sites/all/modules/views/views.module on line 1118.
留言