LNMP 0.7 discuz1.5 伪静态问题
我在创建虚拟机 vhost的时候 已经添加了 discuz 的规则了下面是虚拟机的配置文件
/usr/local/nginx/conf/vhost/www.abc.conf
server
{
listen 80;
server_name www.abc.com abc.com,community.abc.com;
index index.html index.htm index.php default.html default.htm default.php;
root/home/wwwroot/www.abc.com;
include discuz.conf;
location ~ .*\.(php|php5)?$
{
fastcgi_passunix:/tmp/php-cgi.sock;
fastcgi_index index.php;
include fcgi.conf;
}
location ~ .*\.(gif|jpg|jpeg|png|bmp|swf)$
{
expires 30d;
}
location ~ .*\.(js|css)?$
{
expires 12h;
}
log_formatwww.abc.com'$remote_addr - $remote_user [$time_local] $request '
'$status $body_bytes_sent $http_referer '
'$http_user_agent $http_x_forwarded_for';
access_log/home/wwwlogs/www.abc.com.logwww.abc.com;
}
现在我在discuz1.5后台设置url 静态化的时候依然404 Not Found / nginx/0.8.54
是不是我配置得那么不对?
页:
[1]