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