[root@mode ~]# /etc/init.d/httpd Usage: httpd {start|stop|restart|condrestart|try-restart|force-reload|reload|status|fullstatus|graceful|help|configtest}[root@mode ~]# which apache
第一种:加-(减号)表示注释<Directory"/application/apache2.2.26/htdocs"> Options -IndexesFollowSymLinksAllowOverride None Order allow,deny Allow from all
200 - OK,服务器成功返回网页 - Standard response for successful HTTPrequests.301 - MovedPermanently(永久跳转),请求的网页已永久跳转到新位置。 - This and all future requests should bedirected to
[root@modeconf]#pwd/application/apache/conf[root@modeconf]#cat extra/httpd-mpm.conf## Server-PoolManagement (MPM specific)# ## PidFile: Thefile in which the server should record its process# ide
1 1xx消息2 2xx成功3 3xx重定向4 4xx请求错误5 5xx服务器错误HTTP状态码(英语:HTTP Status Code)是用以表示网页服务器HTTP响应状态的3位数字代码。它由RFC 2616规范定义的,并得到RFC 2518、RFC 2817、RFC 2295、RFC 2774、RFC 4918等规范扩展。所有状态码的第一个数字代表了响应的五种状态之一。实例:100 Conti
Copyright © 2005-2024 51CTO.COM 版权所有 京ICP证060544号