The Apache Software Foundation HTTP Server Project (commonly known as Apache) is the dominant Web server on the Internet today, which accounts for more than 60% of the market share. The Apache server is part of an increasingly popular LAMP software configuration. LAMP is a free software program, a WEB platform built on open source technologies such as Linux,
Copyright NOTICE: You can reprint, reprint, please be sure to hyperlink form to indicate the original source of the article and author information and this statement
Http://www.chedong.com/tech/apache_install.html
Tags: Apache install php resin mod_gzip mod_expire webalizer Cronolog
Content Summary:
Apache is a long and powerful Web server, but its rich features don't always know where to start for a nov
Php_admin_flag engine offOrder Deny,allowDeny from allProhibit designation of User_agentRewriteengine on Rewritecond%{http_user_agent} ^*firefox/4.0* [Nc,or]Rewritecond%{http_user_agent} ^*tomato bot/1.0* [NC]Rewriterule. *-[F]Apache restricts a directory by rewriteRewriteengine on Rewritecond%{request_uri} ^.*/tmp/* [NC]Rewriterule. *-[F]This article is from the "10897714" blog, please be sure to keep this source http://10907714.blog.51cto.com/108977
Apache configuration, apache
Simplified Version:
# Specify the IP address of the network card of the user to access the VM.NameVirtualHost *: 80# Specify the Domain Name of the VMServerName yangzailu.com# Specify a virtual directoryDocumentRoot "e:/www/web1"# Specify Directory PermissionsOptions Indexes FollowSymLinksAllowOverride AllOrder Deny, AllowDeny from allAllow from all
Apache: configure the virtual host and apache Virtual Host
# In httpd. conf enable Virtual hosts Include conf/extra/httpd-vhosts.conf # then configure in the httpd-vhosts.conf # match by ip #
# Configure the host file in window
Adjust the level of the error logThese days Apache error log huge inexplicable 30G and many are the kind of web site that does not exist too many dead links corresponding also manyAnd lowered the wrong warning.Because writing logs can bring a lot of loss to the system. After logging off, even the highest overall performance can be improved by nearly 40% (rough estimate) So how do I close the log?Log reads and writes can be reduced by reducing the logg
——— excerpt from the MAVEN Authority guide
Apache Ant
1. Ant is programmed, and you must explicitly tell ant what to do and when to do it. You have to tell it to compile, then copy, and then compress. 2. Ant has no lifecycle, you have to define the dependencies between goals and goals. You must manually attach a task sequence for each goal.
Apache Maven
1, Maven has the agreement, because you follow the agr
Tomcat and Apache James have been deployed on one machine for a long time, and emails are sent to complete registration and notification functions.
Today, Tomcat is deployed on 151 of the hosts, James is deployed on 105 of the hosts, and 151 of the hosts are sent by James above 105. The result is unsuccessful and a prompt is displayed: javax. mail. authenticationfailedexception. the user name and password are correct. Check the configuration file.
Le
User authentication for Apachevim/usr/local/apache2.4/conf/extra/httpd-vhosts.conf//The 111.com virtual host is edited into the following contentDocumentRoot "/data/wwwroot/111.com"ServerName 111.comServeralias www.example.comAllowOverride authconfigAuthName "111.com User auth"AuthType Basicauthuserfile/data/.htpasswdRequire Valid-userErrorlog "Logs/111.com-error_log"Customlog "Logs/111.com-access_log" commonApache Authentication for individual filesvim/usr/local/apache2.4/conf/extra/httpd-vhost
Win8 the system uses 80 ports by default, causing Apache to not open.
Run C:\windows\system32\cmd.exe with administrator privileges
C:\windows\system32>net Stop http
The HTTP Service service has stopped successfully.
C:\windows\system32>netstat-ano | Findstr 0.0.0.0:80
C:\WINDOWS\SYSTEM32>SC Config http start=disabled
[SC] Changeserviceconfig success
Opening registry: Win+r key input regedit
Find: Hkey_local_machine\system\currentcontr
requests per second Requests per second:30.27 [#/sec] (mean)//The average processing time for each request is 330 milliseconds: 10 concurrent requests will be treated as a whole at once./request:330.335 [MS] (M EAN)//Average concurrent request processing time is 33 Ms request:33.034 [MS] (mean, across all concurrent requests) Transfer rate:69.53 [Kbytes/sec] Received Connection times (ms) min MEAN[+/-SD] median max connect:51 170 35.9 178 230 processing:60 153 64.5 121 263 waiting:55 148 64.4
We strongly recommend that you do not memorize things by rote, and that everything must first be tried and understood in the actual scene. 1. What is Apache Web server?Answer: Apache Web server HTTP is a very popular, powerful, and open source for managing Web sites and providing Web file services to the network. It runs on HTTP Hypertext Transfer Protocol, which provides the standard for communication bet
apache|server|web| Security Preface: In the current internet age, the home page has become a corporate image and display the world of an important means, the configuration of a strong and secure Web server is particularly important. Apache is one of the most widely used products in many Web server products, and it is also a very safe design program. However, like other applications,
First, Tomcat introduction
Tomcat is a core project in the Jakarta Project of the Apache Software Foundation (Apache Software Foundation), developed jointly by Apache, Sun and other companies and individuals. With Sun's involvement and support, the latest servlet and JSP specifications are always reflected in Tomcat, and Tomcat 5 supports the latest servlet 2.4
Apache|web|web Service |web Server
1. Introduction
Internet/intranet based on web technology has been widely used in recent years, Intranet is based on TCP/IP protocol, the web as the core intranet, the user through Low-cost, An Easy-to-use client browser can access the data you need on the corporate web site anytime, anywhere. The consistency of the browser client interface avoids the diversity of C/S mode client programs, while the Open and standar
As the most common Web server, Apache can be used in most computer operating systems, and as a free and open source Unix-like operating system Linux, it and Apache can be said to be the golden partner. This article introduces you to the installation and use of Apache under the Linux system. First, to download the Apache
Apache
Article Introduction: The latest official Chinese version of Apache profile. Help the Web server administrator to configure Apache more conveniently.
#
# Based upon the NCSA server configuration files originally by Rob McCool.
#参照NCSA服务器的配置文件, the original was released by Rob McCool.
#
# This is the main Apache
One important reason for Apache to occupy half of the Web server is that it provides a secure web operating environment. The Apache community has done a lot to ensure its security. When the product was found to have a security flaw, Apache developers quickly made a patch.
However, the Web server is still vulnerable to a lot of attacks if you don't take some secu
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.