|
一开站就500! 上网搜索了一番原来是.htaccess的问题。
我个一个wordopress伪静态 代码如下:
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteBase /
RewriteRule ^index\.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]
</IfModule>
保留这个就直接500! 删除了就没问题,之前用其他的lmpa或者lnmp或者wd**的 程序完全没问题。
我的这个代码有什么问题吗?这是WP官方给出的伪静态.htaccess代码。不知道和fastCGI哪里冲突了?
为了避过这个问题我改用nginx+apache,怎知道nginx的伪静态规则也无法用!之前其他lnmp或者lnmpa的时候无论nginx还是apache的伪静态都OK的。
希望有人能说说。谢谢
|
|