在我的not服务器上,我记录到达它的请求,以查找服务器上没有托管的域。我注意到有些条目似乎试图连接到网站的移动版本,即日志中的域名是“m.example.com”而不是“example.com”。
该网站本身是完全响应,因此不需要移动特定的版本。
浏览器对m.example.com的任何响应期望做什么?我是否应该在实际站点中放置任何内容,以防止浏览器尝试这一不必要的请求?
作为参考,提出请求的设备的用户代理是'Mozilla/5.0 (X11;Ubuntu;Linux i686;rv:14.0;ips-agent) Gecko/20100101 Firefox/14.0.1‘,所以它可能不是一个搜索机器人。
发布于 2015-08-22 13:40:18
tl;dr
别理它。
较长答案
ips-代理似乎是来自VeriSign的一个机器人:
这是Veri符号ips-代理机器人。这做的是索引您的网站,以验证互联网配置文件服务。这是他们用来为即将过期的域名的潜在买家提供流量数据的东西。Verisign处于运行.com和.net域名服务器的独特位置,并且知道域名何时过期。他们正在使用这些信息来帮助向注册方(如dynadot )的大容量域名买家出售即将到期的域名。
“似乎是”,因为我拥有的来源最终是不可信任的。然而,谷歌搜索"ips-agent“会导致有关VeriSign机器人的结果,因此这似乎是足够有可能的。
另一个支持性的“证据”:来源的来源提供了一个与您提供的非常相似的用户代理。
发布于 2014-12-22 10:12:41
据我理解,您的浏览器没有理由操纵您的URL,因为用于移动的子域可以是任何子域(例如移动)。等)但是,如果您不将所有子域重定向到您的主页http://page.com,那么您的日志将显示我作为子域输入的任何内容。
因此,您需要相应地配置您的webserver,请参阅下面的示例,以获得作为apache配置的可能解决方案。
#Standardconfig
<VirtualHost *:80>
ServerName domain.com
ServerAdmin support@domain.com
AddType application/x-httpd-php .php .html .htm .html
ExpiresActive On
ExpiresDefault "access plus 0 seconds"
DocumentRoot /home/www-data/portal
<Directory />
Options FollowSymLinks -MultiViews -Indexes
AllowOverride All
DirectoryIndex index.htm
</Directory>
ErrorLog /var/log/apache2/error.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature Off
</VirtualHost>
#This part will redirect all subdomains to your page
<VirtualHost *:80>
ServerName www.domain.com
ServerAlias *.domain.com
Redirect permanent / http://domain.co.uk/
LogLevel warn
CustomLog /var/log/apache2/access.log combined
ServerSignature Off
</VirtualHost>所以这只是你的all服务器/负载平衡器的一项任务
https://stackoverflow.com/questions/27593414
复制相似问题