First, the quota system httpd support PHP
The Apache master configuration file is:/usr/local/apache2/conf/httpd.conf
Configuration Process Step 1:[[emailprotected] ~]# vim /usr/local/apache2/conf/httpd.confSearch ServerName , #ServerName www.example.com:80 remove the front # .Then look for the following:Modified to:The purpose of modifying it is to allow all requests, otherwise we will return 403 error on access.Step 2:Find the following
words, through Referer, the Web site can detect the source page of the target page access, and if it is a resource file, it can be traced to the page address where it is displayed. With the Referer tracking source is good to do, at this time can be handled by technical means, once detected source is not the site to block or return to the specified page.Anti-theft chain configuration[[emailprotected] conf]# less extra/httpd-vhosts.conf To see if the
################# #软件主目录 #################ServerRoot: The top of the directory tree under which the server ' s#configuration, error, and log files are kept.## do not add Aslash at the end of the directory path. If you point#ServerRoot at a non-local disk, being sure to point the lockfiledirective# at a local disk. If you wish to share the sameserverroot for multiple# httpd Daemons, you'll need to changeat least LockFile andpidfile.##ServerRoot: The ro
/run/php-fpm.pid defined PID fileService PHP-FPM Start------------------------------------------------------FPM Default authentication on port 9000Configure HTTPD
Enabling the relevant modules for httpdAfter Apache HTTPD 2.4 has a module specifically for the implementation of the FASTCGI, this module is mod_proxy_fcgi.so, it is actually as an extension of the mod_proxy.so module, so the two modules
Preface: A long time ago loaded once, and then rest for a while and need to use, found that they have forgotten almost, hence the article. One installation Instructions 1.1 Environment [Email protected] ~]# lsb_release-alsb Version:: Base-4.0-amd64:base-4.0-noarch:core-4.0-amd64:core-4.0-noarch:Graphics-4.0-amd64:graphics-4.0-noarch:printing-4.0-amd64:printing-4.0-noarchdistributor id:centosdescription: CentOS Release 6.6 (Final) release:6.6codename:final 1.2 Installing user root 1.3 Installatio
If you are browsing Baidu, or Google is not difficult to find, these sites have achieved the total station Https,https relative to HTTP, due to the increased SSL tunneling mechanism, security has been greatly improved, so the whole station HTTPS will be the trend of the future site, and httpd default is not support HTTPS, because HTTPD has a strong module support, here we
The cluster is actually very simple, let's say what parts of the Httpd+tomcat cluster should be aware of:First things to use haveapache-tomcat-8.0.32:http://tomcat.apache.org/download-80.cgihttpd-2.4.18-x86-vc11-r3/apache24:http://httpd.apache.org/download.cgi Http://apache.opencas.org//httpd/binari Es/win32/http://www.apachehaus.com/cgi-bin/download.plxtomcat-connectors-1.2.40-windows-i386-
Software version:Pcre-8.36.tar.gzApr-1.5.1.tar.gzApr-util-1.5.4.tar.gzhttpd-2.4.12.tar.bz2Mysql-5.6.24.tar.gzLibxml2-2.7.8.tar.gzLibpng-1.5.12.tar.gzFreetype-2.4.10.tar.gzJpegsrc.v7.tar.gzGd-2.0.35.tar.gzPhp-5.4.39.tar.gzBaidu Cloud: Http://pan.baidu.com/s/1dDGT9KHSummary of steps:1. Apache2. mysql3. php4. VerificationRemark :All operations (not specified) are in the following:/USR/LOCAL/SRC is the operating directory, and all packages are in this directory.Specific steps: Installing ApachePacka
---restore content starts---9 , log Settingserror log:Errorlog logs/error_log//The relative path is used here, relative to the/etc/httpd/pathLogLevel warn//Define the logging level, indicating the level at which this level is recorded, the higher log level will be recordedLog levels: Debug, info, notice, warn, error, crit, alert, Emerg (default is Warn)Access log:Customlog Logs/access_log Combined//conbined is the log format, which is the followingLog
following is the interpretation of the/etc/init.d/httpd script, the unknown is also hope that everyone understanding, you are welcome to criticize the advice.
#!/bin/bash
#
# httpd Startup script for the Apache HTTP Server
#
# Chkconfig:-85 15
# Description:apache is a world Wide Web server. It is used to serve \
# HTML files and CGI.
# PROCESSNAME:HTTPD
# config:/etc/
Release date:Updated on: 2013-04-27
Affected Systems:Light HTTPD Light httpd0.1Description:--------------------------------------------------------------------------------Bugtraq id: 59495Light HTTPD is a project to improve ghttpd to include server-parsed elements, htaccess, content management, and on-page MySQL queries.Light HTTPD has a buffer overflow vulnerabi
Customlog "|/usr/local/apache/bin/rotatelogs/var/log/access_log 86400" commonThe above may not work properly, so with the following, add the following command in Httpd.conf, and then access the page, the log will be replaced in a minute.Customlog "| | /usr/local/apache/bin/rotatelogs/var/log/access_log 86400 "Common[Email protected] httpd]# vi/etc/httpd/conf/httpd.conf[Email protected]
HTTPD Service is the necessary service to set up the website below I'll say how to install the configuration1. Installing the HTTPD ServiceEnter the following command to install ( if there is no network or slow installation, please set up local Yum source for installation, Setup tutorial Click here to view )Yum Install Httpd-yAfter the installation is complete, e
HTPASSWD is used to generate a password based on Web user authentication for a specified user, provided by the Httpd-tools package. Supports 3 encryption algorithms: MD5, Sha, and the Crypt () function on the system, which defaults to MD5 when no algorithm is specified.HTPASSWD [-c] [-m] [-d] Passwdfile usernamehtpasswd-b [-c] [-M |- D| -P |- S] [-d] passwdfile username passwordhtpasswd-n [-m |- D|- S| -P]
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.