分享

写回答

发帖

[经验] 两段代码,godaddy空间完全加速!

回答|共 98 个

bluebad

发表于 2011-6-25 23:32:57 | 显示全部楼层

回复 48# 的帖子

没有就自建
回复 支持 反对

使用道具 举报

bluebad

发表于 2011-6-25 23:36:09 | 显示全部楼层

回复 47# 的帖子

gzip是在服务器端压缩后传输给浏览器解压,只是在传输过程压缩了,你服务器上的文件并没被压缩,你把.js压缩去掉试。
回复 支持 反对

使用道具 举报

yangwenly

发表于 2011-6-26 01:05:10 | 显示全部楼层

回复 1# 的帖子

加第一段代码正常     加了第二段代码后 就出现500错误。这是什么情况。?
加了第一段代码后 测试结果就已经有压缩了
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-26 09:18:06 | 显示全部楼层

回复 53# 的帖子

楼主的.htaccess是不是已经设置了该代码了,在加的话,就会500错误
回复 支持 反对

使用道具 举报

bluebad

发表于 2011-6-26 09:55:28 | 显示全部楼层

回复 47# 的帖子

把       addhandler x-httpd-php5-cgi .php .html .htm .js
改成   addhandler x-httpd-php5-cgi .php .html .htm

就可以diy了
回复 支持 反对

使用道具 举报

smmiracle

发表于 2011-6-26 17:15:49 | 显示全部楼层

为什么我加上.htaccess后反而无法访问网站的统计功能了?删除了就正常了。这是什么问题?
RAKSmart
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-26 17:17:51 | 显示全部楼层

回复 56# 的帖子

LS的是怎么添加的,是不是代码出现问题还是冲突了
RAKSmart
回复 支持 反对

使用道具 举报

smmiracle

发表于 2011-6-26 19:07:07 | 显示全部楼层

我就是.htaccess 里面是这样的:
addhandler x-httpd-php5-cgi .php .html .htm .js
没有PHP5.ini直接把PHP.ini改名了。
引起的错误如下:
Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator and inform them of the time the error occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

Apache Server at tophot.org Port 80

[ 本帖最后由 smmiracle 于 2011-6-26 07:21 PM 编辑 ]
回复 支持 反对

使用道具 举报

lwbo1987

发表于 2011-6-27 09:30:50 | 显示全部楼层

回复 58# 的帖子

php5.ini里面添加内容了吗?楼主你的php版本是php5吗,不是的不需要修改为php5的
回复 支持 反对

使用道具 举报

jellday

发表于 2011-6-27 09:57:02 | 显示全部楼层

会轻微增加服务器负担~~
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则