发新话题
打印

我现在的访问地址http://localhost/mambo,请问怎么能用ip地址访问啊?

我现在的访问地址http://localhost/mambo,请问怎么能用ip地址访问啊?

我现在的访问地址http://localhost/mambo,请问怎么能用ip地址访问啊?

TOP

朋友,能上网就有可能!可以在DOS下使用netstat命令看一下自己的IP;可以到http://junit.vicp.net看看网站建设栏目,使用免费的动态域名来发布你的网站,就可以使用域名来访问自己的网站。当然,如果财力允许,可以有更多的选择,详情请洽网络服务商。

TOP

谢谢

谢谢这位朋友,摸索中。。。

TOP

1.打开安装目录下的configuration.php将其中: $mosConfig_live_site = ‘http://localhost/mambo’; 改为: $mosConfig_live_site = ‘http://服务器IP地址/mambo';

2.安装根目录下www/.htaccess文件,需要修改为:
# This file provides security to the server limiting acces to the localhost only

Order Allow,Deny
Deny from 10.2.2.2  (注释:这个地方随便写一个)
Allow from all

没改之前,应该是
Deny from all
Allow from 127.0.0.1

TOP

发新话题