百度抓取测试结果:301跳转到index.html站点配置里默认问答,index.html是放第一位的
重定向那里也没做301,请官方帮忙看看
附站点配置代码:
<VirtualHost *:80>
ServerAdmin webmaster@example.com
DocumentRoot "C:/wwwroot/peng"
ServerName xxxx.com
ServerAlias xxxx.com
ErrorLog "C:/BtSoft/wwwlogs/xxxx.com-error.log"
CustomLog "C:/BtSoft/wwwlogs/xxxx.com-access.log" common
#redirect 重定向
IncludeOptional conf/redirect/xxxx.com/*.conf
#proxy 反向代理
IncludeOptional conf/proxy/xxxx.com/*.conf
ErrorDocument 404 /404.html
#DENY FILES
<Files ~ (\.user.ini|\.htaccess|\.git|\.svn|\.project|LICENSE|README.md)$>
Order allow,deny
Deny from all
</Files>
#PHP
Include conf/php/56.conf
#PATH
<Directory "C:/wwwroot/peng">
Options FollowSymLinks ExecCGI
AllowOverride All
Require all granted
DirectoryIndex index.html index.php default.php index.htm default.html default.htm
</Directory>
</VirtualHost>
|
|