wordress在windows下实现Permalinks

Posted by: o o   
April 5th,
2008

前一阵子一直在空间里调wordpress很慢,而且也影响浏览,于是今天就在本机上用SOAWAMP在本机上搭一wordpress,可是在选permalinks时,报错“You don’t have permission to access /blog/wp-admin/options-permalink.php on this server”,然后所有网页都打不开了,我的那个盘还是fat32格式啊,在windows上什么也不懂,找了半天,在.hu结尾的网站上看见一段代码,可能是匈牙利的吧,除了那段代码一个字也不认识,死马当活马医,只管贴覆盖到.htaccess里面,一切正常了。代码是:

# BEGIN WordPress
Options +FollowSymLinks
Options +SymlinksIfOwnerMatch

RewriteEngine On
RewriteBase /blog/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /blog/index.php [L]
# END WordPress
This entry was posted on Saturday, April 5th, 2008 at 11:46 am and is filed under blog 建设. You can follow any responses to this entry through the RSS 2.0 feed. You can leave a response, or trackback from your own site.

Leave a reply

Name (*)
Mail (*)
URI
Comment