Apache Log optimization and apache LogWhen apache is running, information about all the requests it processes is recorded. at the same time, information about exceptions occurred during the processing is also recorded. the server can record request-related activity information in multiple log files in multiple formats, but only one error message can be recorded.
Php sets the Apache Virtual Host vhost and the apache Virtual Host vhost
Address: http://blog.csdn.net/oneym/article/details/48050487Author: oneymI. Environment Description
1. Use XAMPP in php Environment2. win7_64-bit System3. Install XAMPP in the C root directory2. Modify related files 1. register the Host Header IN THE SYSTEM
Use the text editing tool to editC:\Windows\System32\drivers\etc\hostsFile, ad
Apache suspended animation, Apache maintenance, Master Please come in, thank you
A few days ago, Apache still died every 1 days, I have been trying to solve, but these two days, every one hours to die once, if after his death, I do not manually end the process in the Httpd.exe, will appear the following log:
HTML Code
...... [Sun 16 09:20:45 2009] [Notice]
Apache download, apache
Recently, I am bored. I want to watch php and play asp N years ago. Now I feel embarrassed to say that I would like to talk about asp.
Since php is required, first install the server and configure the environment. The server must be a famous Apache. Well, go to the Apache official website.
I
For static pages there is an etag.
First of all, look at this: Apache static page
The static page that Apache sends to the client typically contains the last-modified and ETag, the values of which are from the modified time of the static file and the Inode.
Below is the truncated Apache return client header
xml/html Code
Copy the Code code as follows:
Last-modif
In Windows, Apache + PHPSESSION records the entire solution process and apache records the entire process. In Windows, there is a full record of the solution process for Apache + PHPSESSION loss. in apache, today's job is to migrate a PHP site to the new server. Creates a Windows Server virtual machine and records all
Apache configuration multisite, Apache configuration site
In the httpd.conf file, the following configuration is available (note: The comment content of the httpd.conf file is removed)
Listen 80ServerName localhost
allowoverride None Require all Denieddocumentroot "E:"
Options Indexes followsymlinks allowoverride None Require all granted
(It is best to clean up the brow
11.14/11.15 Apache and PHP combinedEdit: httpd Master configuration file /usr/local/apache2.4/conf/httpd.confRemove the # numberAdd PHP7 #Telnet ip+80Port not enabled, need to open iptables firewallChange requireRequires action to take effect after configuration changeReload ServiceAdd a line of PHP to parsePage displayThe result is access to the source codeIf you encounter PHP cannot be resolved, you need to check the relevant
anti-theft chain: Some bad site sometimes in order not to increase the cost and want to expand their site content, often misappropriation of links to other sites, on the one hand damage the legitimate interests of the original website, on the other hand, the burden of the server increasedHide version information: In general, the vulnerability information of the software and the specific version is relevant if XXX or an ulterior motive to get the Apache
11.14/11.15 Apache and PHP combinedHTTPD Master configuration file/usr/local/apache2.4/conf/httpd.confvim/usr/local/apache2.4/conf/httpd.conf//Modification of the following 4 placesServerNameRequire all deniedAddType application/x-httpd-php. phpDirectoryIndex index.html index.phpIptables-i input-p TCP--dport 80-j ACCEPT/USR/LOCAL/APACHE2.4/BIN/APACHECTL-T//Test syntax/usr/local/apache2.4/bin/apachectl Graceful//Reload/usr/local/apache2.4/bin/apachectl
Apache user authenticationOpen the site directly pop-up user name password, correct before you can view the site, this is called Apache user authentication.Edit the configuration file (because we are using Apache virtual host, so we enter the configuration of the virtual host)vim /usr/local/apache2.4/conf/extra/httpd-vhosts.confAdd the following paragraph to the
Http://jingyan.baidu.com/article/5225f26b07605be6fa090890.html
Allows Apache to load the virtual host module at boot time.Open the Apache installation directory under the conf/httpd.conf file, find the following two lines of text, the first # number is removed, and then saved.#LoadModule Vhost_alias_module modules/mod_vhost_alias.so#Include conf/extra/httpd-vhosts.conf
Then find DocumentRoot and direc
The Apache server is installed with only local access and other computers in the LAN cannot access Apache:1. View SELinux operation status and turn off SELinux/usr/sbin/sestatus-vText mode off SELinux:Vi/ect/selinux/configComment out the selinux=enforcing: #SELINUX =enforcing, then add a new behavior: selinux=disabledSAVE, REBOOT system!!!The current mode can be modified with the command Setenforce, and SEL
I have previously installed XAMPP, because learning thingphp need to upgrade PHP5.0 above, so I removed the xampp, new version of the XAMPP to install it PHP is the latest edition, but the installation after the launch XAMPP prompt as follows:Apache Service detected with wrong path. Change XAMPP Apache and Control Panel settings oruninstall/disable The other service manually firstFound Path: "H:\program files\xampp\
Org. apache. hadoop-hadoopVersionAnnotation, org. apache. hadoop
Follow the order of classes in the package order, because I don't understand the relationship between the specific system of the hadoop class and the class, if you have accumulated some knowledge, you can look at other people's hadoop source code interpretation class book, similar to the http://pan.baidu.com/s/1i3GGvvZ. I am confused, because
Apache Commons Pool实现了对象池的功能。定义了对象的生成、销毁、激活、钝化等操作及其状态,并提供几个对象池的实现。在讲述其实现原理前,先提一下其中有几个重要的对象:">Apache Commons Pool实现了对象池的功能。定义了对象的生成、销毁、激活、钝化等操作及其状态,并提供几个对象池的实现。在讲述其实现原理前,先提一下其中有几个重要的对象:">Apache Commons PoolImplements 对象池 the function. Defines the operations of object generation, destruction, activation, passivation, and its state transitions, and provides several
Login, the following log will appear: HTMLcode ...... [SunAug1609: 20: Apache suspended, Apache maintenance, master please, thank you
Then, the following log is displayed:
HTML code
...... [Sun Aug 16 09:20:45 2009] [notice] Parent: child process exited with status 1 -- Restarting. [Sun Aug 16 09:20:45 2009] [notice] Apache/2.2.4 (Win32) configured -- res
First, using Apache
Installation of ≡php 5.2.5 ≡
1, to its official site download Php-5.2.5-win32.zip and decompression (said: Do not download and use its installer, this way although very automated, very smart, but there are many limitations, because it is not recommended. ) to a directory "D:\PHP\PHP".
Copy the php.ini-recommended from the PHP directory (D:\PHP\PHP) to Windows (some systems are WINNT directories) and rename it to PHP.ini, and find E
Resolve the location where ubuntu comes with Apache and self-compiled and installed Apache
In linux, Apache has a previous management tool: apachectl, which is used to manage the startup, shutdown, and some settings of Apache in the background.
Apachectl -- help
View usage.
Here we can use the apachectl script
After the Apache HTTP server is installed, it is reported that it cannot be started because the parallel configuration of the application is incorrect-(resolved). After apache is installed
Original Works are from the blog of "Deep Blue blog". You are welcome to repost them. You must specify the source when you repost them. Otherwise, you have the right to pursue legal liability for copyright.
Deep Blue blog
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.