2

I have LINUX web server on local network on IP 192.168.1.200 (this is Xtreamer nas server) and I want to access it through win notebook from local wifi.

I have HOST file record 192.168.1.200 server.com

Note that ping server.com returns 192.168.1.200 as expected

Could anybody explain why

192.168.1.200:8080 returns xtreamer configuration page as expected

BUT

server.com:8080 returns

Forbidden You don't have permission to access / on this server. Microsoft-IIS/5.0 Server at server.com Port 8080

I thought that it should returns same pages. What I dont understand is Microsoft-IIS in result when xtreamer has Linux inside.

4

2 回答 2

0

要么是因为您的浏览器使用 DNS 来查找 IP 地址,server.com并且不会检查 hosts 文件,要么是因为 Web 服务器未配置为回复带有server.com.

于 2012-11-05T16:50:00.127 回答
0

Xtreamer 在 Linux 上构建,Apache 包括ModSecurity. ModSecurity 还允许伪造服务器签名,例如。

SecServerSignature "Microsoft-IIS/5.0"

这就是 Xtreamer 所做的。

于 2012-11-12T09:57:25.327 回答