Drupal กับ .htaccess

Install drupal เสร็จ เข้าไปแก้ไข config ของ Theme แล้วมี error ประมาณว่า 
    * warning: fopen(sites/default/files/.htaccess) [function.fopen]: failed to open stream: Permission denied in /var/www/jack/includes/file.inc on line 129.
    * Security warning: Couldn't write .htaccess file. Please create a .htaccess file in your sites/default/files directory which contains the following lines:
      SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
      Options None

ติดตั้ง GD Library

หลังจากติดตั้ง Drupal แล้ว 
มี message แจ้งเกี่ยวกับ GD Library
ให้ทำการติดตั้ง Package  php5-gd ด้วยคำสั่ง
sudo apt-get install php5-gd
จากนั้น restart apache ด้วยคำสั่ง
sudo /etc/init.d/apache2 restart
ก็เป็นอันเรียบร้อย
ที่มา: http://drupal.org/node/540838

How to Enable mod_rewrite on Ubuntu

เปิดใช้โมดูล mod_rewrite

sudo a2enmod rewrite

แก้ไฟล์คอนฟิก

sudo nano /etc/apache2/sites-enabled/000-default

แก้ไข none ให้เป็น all

<Directory /var/www/>
    Options Indexes FollowSymLinks MultiViews
    AllowOverride all
    Order allow,deny
    allow from all
</Directory>

สุดท้าย บูต Apache ใหม่

Inserting Spacing Into an Equation

CTRL+SHIFT+SPACEBAR
ที่มา: ist.uwaterloo.ca

Decoding .flac files with Winamp

1.  Open Winamp and select Options and then Preferences… (note: if you’re using the “classic version” skin, open the Winamp Preferences by clicking the Control and p keys on your keyboard)

สามัคคีชุมนุม

เนื้อเพลง สามัคคีชุมนุม

..พวกเราเหล่ามาชุมนุม
ต่างกุมใจรัก สมัครสมาน
ล้วนมิตรจิตชื่นบาน
สราญเริงอยู่ทุกผู้ทุกนาม
 

Hosting Project on code.google.com

ก่อนอื่นต้องมีปัญชีผู้ใช้ gmail ก่อน

จากนั้นดู ขั้นตอนเบื้องต้นได้ที่ http://code.google.com/p/support/wiki/GettingStarted

ลงมือสร้าง Project ใหม่ได้ที่ http://code.google.com/hosting/createProject

หลังจากสร้าง Project เสร็จแล้ว ก็ Upload ไฟล์ขึ้นไปได้ที่ Tab Download > New download

Syndicate content