开发者

Apache VirtualHost issue veeery slow

开发者 https://www.devze.com 2023-02-20 10:23 出处:网络
I just installed on Windows7, Apache2.2.17, PHP5.3.5. PC connected to LAN. I have configure vhosts, like:

I just installed on Windows7, Apache2.2.17, PHP5.3.5. PC connected to LAN. I have configure vhosts, like:

<VirtualHost *:80>
    Docu开发者_如何学GomentRoot "C:/www/tm"
    ServerName tm
    ServerAlias www.tm
    ErrorLog "logs/tm-error.log"
    CustomLog "logs/tm-access.log" common

    <directory "C:/www/tm">
        AllowOverride All
        Options Indexes FollowSymLinks
        Order allow,deny
        Allow from all
    </directory>

</VirtualHost>

And in 'hosts' file I just add line at the end: '192.168.0.55 tm' (my LAN-IP). If I type in address http://tm - it opens fine! And it work fast and it work fine!

But if I try to do this from other computer on same LAN, (with added record to hosts file), it opens verry verry slooooow. (phpinfo() page opens ~ 1 min)

Windows Firewall turned off on both machines. Net works fine. Ping PC-to-PC fine! Any ideas? (IPV6 turned off in LocalLan connection)

0

精彩评论

暂无评论...
验证码 换一张
取 消