是岁大疫,免者十不足一。。。
  • 微信微信

WP报500出错,Request exceeded the limit of 10 internal redirects due to probable configuration error.

WP报500出错,Request exceeded the limit of 10 internal redirects due to probable configuration error.
        在本地WINDOWS电脑搭了个wordpress,觉得差不多了将它放到linux上,给wp-content/uploads和wp-content/themes赋了777权限,可是却出现了问题。打开首页可以,其它页面却报500错误。         排查httpd的error-log,发现:         AH00124: Request exceeded the limi...

httpd一个不常见的403错误,error.log提示:pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/' is executable

httpd一个不常见的403错误,error.log提示:pcfg_openfile: unable to check htaccess file, ensure it is readable and that '/var/www/html/' is executable
        今天搭个lamp服务端,一切程序服务在15分钟左右搞好,放个测试程序上去,却出现403错误。         根据提示,是权限问题,所以核查httpd.conf配置,找来找去,发现没有错误,<Directory "/var/www/html">没问题,配置如下: <Directory "/var/www/html"> ...

.htaccess经WINDOWS复制后,在linux服务器apache开启rewrite导致出现Internal Server Error

.htaccess经WINDOWS复制后,在linux服务器apache开启rewrite导致出现Internal Server Error
        apache安装好后,修改httpd.conf去掉#引入LoadModule rewrite_module modules/mod_rewrite.so,然后在网页根目录下,将.htaccess上传上来,但访问网页老是提示:Internal Server Error,如下:         百度上竟然这样说解决方法:注意检查以下两方面 1、请您检查PHP程序的属...

https启动不了,没有端口占用却提示:(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443

https启动不了,没有端口占用却提示:(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443
        今天凌晨搞定的HTTPS服务器,晚上将认证证书修改了,重启APACHE,却启动不了了,出错有提示:(98)Address already in use: AH00072: make_sock: could not bind to address 127.0.0.1:443         有问题问度娘,度娘找到的都说端口被占用了什么云云,但实际却看不到有...

Apache2.4.*配置禁止浏览目录,通过mod_rewrite做的某些站的IP访问控制限制策略

Apache2.4.*配置禁止浏览目录,通过mod_rewrite做的某些站的IP访问控制限制策略
        mod_rewrite.so可以给apache做一些访问控制,通过httpd.conf配置,或者通过.htaccess。不过,Apache2.4.*和Apache2.2.*的指令有些不同。         首先在httpd.conf要把LoadModule rewrite_module modules/mod_rewrite.so前面的#去掉,启用mod_rewrite.so。       &n...

一次网站高并发,Apache的处理

一次网站高并发,Apache的处理
        之前帮同学做的一个简单的图片保存访问和管理网站,昨晚他说访问很慢,然后登陆后台服务器用netstat查看 [root@iZ2832m5qa1Z ~]# netstat | grep ESTABLISHED tcp 0 15840 iZ2832m5qa1Z:http 70.146.93.117.bro:52017 ESTABLISHED tcp 0 0 iZ2832m5qa1Z:http 115.173.87.59:51486 ESTABLISHED tcp 0 ...

Apache:非80端口的网站如何让域名隐藏端口,直接输入域名即可访问?

Apache:非80端口的网站如何让域名隐藏端口,直接输入域名即可访问?
        我们知道网站HTTP默认端口是80,在浏览器输入网址访问网站,如果URL没有用冒号指定端口,则访问网站默认的端口80。在Apache的httpd.conf里面也很容易修改这个端口。         不过问题来了,在Apache里修改端口然后重启,再用浏览器访问,URL就要指定端口,不...

PHP Deprecated: Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version

PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version
        最近在Apache的error.log里出现一个E_DEPRECATED,PHP Deprecated:  Automatically populating $HTTP_RAW_POST_DATA is deprecated and will be removed in a future version. To avoid this warning set 'always_populate_raw_post_data' to '-1' in php.ini and use the php://input stream instead. in Unknown on line 0         里面提...

Apache出错:RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.

Apache出错:RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.
        之前搭建的Apache2.4服务器,经常运行两三天就莫名其秒的出现吊死,重启Apache则恢复。         核查Apache的error.log,发现经常出现这样的warn信息:RewriteOptions: MaxRedirects option has been removed in favor of the global LimitInternalRecursion directive and will be ignored.   &nb...

emlog安装成功了

emlog安装成功了
EMLOG的安装,只是记事,没有过程。。。阅读全文>>