2010年3月22日 星期一
google map 街景
http://maps.google.com.tw/
進入google map。搜尋你想看的街景。如新竹大遠百
之後把小黃人拉至街上。路上變藍色的才有街景。有外星人、罪犯、比基尼等等等```
清楚的狠~
2010年3月21日 星期日
ubercart 無圖片,要安裝簡潔網址
http://drupal.org/node/134439
Method 2: apache2.conf
Then you have to enabled the rewrite module(mod_rewrite). You no longer have to do the:
LoadModule rewrite_module modules/mod_rewrite.so
AddModule mod_rewrite.c
It's now as easy as:
sudo a2enmod rewrite
To disable this module it's just:
sudo a2dismod rewrite
with Apache version 2, the httpd.conf has been deprecated and the new file is located at:
/etc/apache2/apache2.conf
in this file you need to add your directory and the allow override to give access to your drupal site.
so look for a section in your apache2.conf that has Directory tags and just add another section:
<Directory /var/www/drupal_website_install
>
AllowOverride all
<
/Directory
>
AllowOverride all
*keep in mind that my website is in a subdirectory (drupal_website_install) and so you may need to edit the above to reflect this. By this I mean if i go into my webbrowser I need to go to http://localhost/drupal_website_install/
After you edit you apache2.conf as listed above you need to restart the server by:
/etc/init.d/apache2 reload
2010年3月18日 星期四
Windows/Linux route add
route DELETE 0.0.0.0
route ADD 10.0.0.0 MASK 255.0.0.0 10.10.11.254 METRIC 10
route ADD 172.16.0.0 MASK 255.240.0.0 10.10.11.254 METRIC 10
route ADD 192.168.0.0 MASK 255.255.0.0 10.10.11.254 METRIC 10
route ADD 0.0.0.0 MASK 0.0.0.0 123.123.123.254 METRIC 10
echo off
可以下route print看routing table
存成AAA.bat丟進
C:\Documents and Settings\lennytseng\「開始」功能表\程式集\啟動
就會開機執行~
linux的話
ip route add 192.168.10.0/24 via 192.168.5.100 dev eth0
ip route show