
Apache
追逐吾之所求
我就是我,最真的我!
展开
-
.htaccess文件RewriteRule语法规则
.htaccess文件是运行Apache Web Server的Web服务器的配置文件,对配置和重定向Apache Web Server文件系统很有用。请记住.htaccess文件将采用隐藏格式。没有人可以通过URL直接看到它。.htaccess文件有很多用途。在这里,我将讨论.htaccess文件RewriteRule语法规则。RewriteRule语法规则 # —— 位于行首时表示注释。 [F] —— Forbidden(禁止): 命令服务器返回 403 Forb...转载 2020-06-04 15:37:41 · 1089 阅读 · 0 评论 -
PHP的内存限制 Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in...
Allowed memory size of 134217728 bytes exhausted (tried to allocate 1099 bytes) in...解释是可用内存已耗尽,这关系到PHP的memory_limit的设置问题。这里有两种方法解决1、修改php.inimemory_limit = 128M这种方法需要重启服务器,很显然,此方法对虚拟机有限制...转载 2020-04-13 16:19:35 · 441 阅读 · 0 评论 -
apache 404\403错误页面跳转
1、全局下使用404跳转在httpd.conf下配置跳转vim /usr/local/httpd/conf/httpd.conf<Directory "/usr/local/httpd-2.4.25/htdocs"> AllowOverride None Require all granted ErrorDocument 404 /aa.jpg ...转载 2019-12-17 10:48:05 · 868 阅读 · 0 评论 -
Apache 2.4(.37) AH01630: client denied by server configuration
配置家里的TpLink的虚拟服务器时遇到了这个问题而本地访问wampserver配置的虚拟机的话是没有问题的看了一下错误日志,提示:AH01630: client denied by server configuration:。。。。上网找了一下,解决方法有说是Apache的配置文件写法变了,也有其他的最后发现自己是2.4的配置写法没改成所有来源都能访问,即 R...原创 2019-03-18 14:53:09 · 595 阅读 · 0 评论