Hi! I’m clsung

Hi! I’m clsung

clsung’s blog site, or you can call me AlanSung

Hi! I’m clsung RSS Feed
 
 
 
 

.htaccess 與 permalink

剛試了一下 permalink ,很好用。不過嘛,一開始還是會有問題,雖然寫好 rewrite rules 在 .htaccess 裡,還是沒法執行。會有 Internal Server Error。於是試了一下 AllowOverride (在 httpd.conf 裡) 的選項,加了下面三行就可以了:

<directory /path/to/your/wp>
AllowOverride FileInfo
</directory>

FileInfo 是一定要的啦,不然 .htaccess 裡的 RewriteEngine On 這行就會哭給你看哦:cry:。

Share and Enjoy:
  • Digg
  • Sphinn
  • del.icio.us
  • Facebook
  • Mixx
  • Google
  • funp
  • Haohao
  • Hemidemi
  • Live
  • MisterWong
  • TwitThis
  • udn

2 Responses to “.htaccess 與 permalink”

  1. 1
    anne chia:

    我用FRONTPAGE2002,要如何建立帳號及密碼,以便特定的網頁給特定的人進入?

  2. 2
    clsung:

    呃, 這個網站是用 Apache 架的耶, 我無法回答你, 不好意思.

Leave a Reply

噗浪:

  • clsung 說 下雨... 3 hours 前
  • clsung 說 News98 這個時段的廣播變了 6 hours 前
  • clsung 說 會早來的人又少了 2009/01/05

分類

Flickr

    clsung. Get yours at bighugelabs.com/flickr

Blogroll

    馬的警總回來了
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan
Creative Commons Attribution-NonCommercial-ShareAlike 2.5 Taiwan