lnmp不支持泛解析?
lnmp不支持泛解析?先贴上配置文件server
{
listen 80;
server_name www.i7ho.com i7ho.com *.i7ho.com;
index index.html index.htm index.php default.html default.htm default.php;
root/home/wwwroot/i7ho.com;
include i7ho.com.conf;
location ~ .*\.(php|php5)?$
{
try_files $uri =404;
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;
}
access_log off;
}
这样不知道对没有对,我输入任何二级域名都会自动跳转到www.i7ho.com这个域名,我使用的是一个淘宝客程序,win平台测试没问题。军哥,求解!
支持泛解析
泛解析是不会跳转的,除非有其他的因素影响,比如伪静态 你的配制是正常的。
你应该是使用那个采集店铺,采集评论的程序。
你得采集到店铺地址后才会生成二级域名,访问才不会跳主域名的。
随便输入的二级域名,都会判断跳到主域名。
页:
[1]