环境:apache+php+mysql,具体可以看这个链接http://www.ccipa.org:8090/index.php这个页面的代码如下:
<? php
echo phpinfo();
?>
现在不知道为什么页面前面有乱码,
乱码如下:
��#8Ne}����"Aar������8So����� 3H^u�����2Qq�������.Hc���� /CXn�����$Ba������� %>Xs���� ,?Sh~�����4Rq������5Nh�����*<Ocx����� 'Db������0 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 200a
具体可以看http://www.ccipa.org:8090/index.php这个页面
这个站点没有任何页面,就是简单地配置完,放了一个测试页面。http://www.ccipa.org:8090/index.html也有乱码,即该域名下的页面都有乱码,但是用
http://www.ae-are.org:8090/index.html访问就没有问题,这2个域名都指向了同一个站点。
<? php
echo phpinfo();
?>
现在不知道为什么页面前面有乱码,
乱码如下:
��#8Ne}����"Aar������8So����� 3H^u�����2Qq�������.Hc���� /CXn�����$Ba������� %>Xs���� ,?Sh~�����4Rq������5Nh�����*<Ocx����� 'Db������0 Connection: Keep-Alive Transfer-Encoding: chunked Content-Type: text/html 200a
具体可以看http://www.ccipa.org:8090/index.php这个页面
这个站点没有任何页面,就是简单地配置完,放了一个测试页面。http://www.ccipa.org:8090/index.html也有乱码,即该域名下的页面都有乱码,但是用
http://www.ae-are.org:8090/index.html访问就没有问题,这2个域名都指向了同一个站点。
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head><body>
test 中文 为什么前面有乱码?崩溃
</body>
</html>2.php
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
</head><body>
<?php
echo '崩溃!';
?>
</body>
</html>index2.html
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />test ccipa 域名!index2.php
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<?php
echo phpinfo();
?>
ServerAdmin [email protected]
ServerName www.ccipa.org:8090
ServerAlias ccipa.org:8090
DocumentRoot "D:/WebRoot/ccipa"
php_admin_value open_basedir "D:/WebRoot/ccipa"
ErrorLog logs/ccipa-error_log
CustomLog logs/ccipa-access_log common
</VirtualHost><VirtualHost *:8090>
ServerAdmin [email protected]
ServerName www.ae-are.org:8090
ServerAlias ae-are.org:8090
DocumentRoot "D:/WebRoot/ccipa"
php_admin_value open_basedir "D:/WebRoot/ccipa"
ErrorLog logs/ae-are-error_log
CustomLog logs/ae-are-access_log common
</VirtualHost>
httpd.exe: Could not reliably determine the server's fully qualified domain name, using 192.168.0.124 for ServerName
159.226.*.235 - - [24/Oct/2012:08:52:46 +0800] "GET / HTTP/1.1" 200 383请教各位大神了,有法解决这个问题吗?
#8 的错误信息表明 httpd 找不到合法的服务器空间
多半是是你在修改配置文件时,没有让 ServerName IP:port与Listen IP:port一致造成的
dns也换成了google的万能dns(8.8.8.8,8.8.4.4)
dns也换成了google的万能dns(8.8.8.8,8.8.4.4)
在ubuntu12.04下也测试过。悲剧
Options Indexes
AllowOverride None
Order allow,deny
Allow from all
</Directory>
1:我使用单独1根专线(固定公网IP)进行连接服务器;
2.服务器上仅配置了apache+php+mysql环境;
3、进行访问,还是有同样的乱码。我想知道有没有可能万网的dns服务器有问题,我现在已经换成将该域名的dns服务器更换成与ae-are.org相同的dns服务器。希望哪位大神能提供一些新的思路啊?能测试的都测试了。哪位能提供一个ip帮我测试一下的啊。或者谁有好用的花生壳啊(没有搞过这个)?
如果这是答案,那dns一定有窦娥的冤