First, modify the Apache default Site Directory
After the Apache HTTP server is installed, the default site directory is located in the Htdocs folder under its installation directory, and the default home page is the index.html file for that folder. For example, my Apache is installed inside c:/wamp/bin/apache/apache2
Environment: Window 7, apache/2.2.19 (WIN32) php/5.2.9-1
1. Configure the server name
Remove the #ServerName localhost:80 comments from the inside.
Re-run the Apache service.
The http://localhost:80 can then be accessed through a browser, which means that Apache has been installed and started successfully if the page is displayed.
2. Add PHP Support
Max is from the server with Apache and PHP, do not need to install additional, this article on the relevant configuration is described.
First: Apache
Enter the terminal and the following command will launch the Apache server:
Start sudo apachectl-k start //restart sudo apachectl-k restart
Verify:
Enter in the browser: http://127.0.0.1, displayed as it works!
The IIS server default port for window is also 80,
The Wamp Apache (httpd) default port is also 80,
Any port conflict caused by the Wamp open failure, causing wamp the lower right corner of the icon is yellow color (normal open green),
You can change the port number of Apache (httpd).
Specific programmes
To be replaced by:
Then restart the Wamp service, or the Wamp itself will be
The above descr
1. First, you need to install Apache service, here does not describe how to install.
2. First configure window virtual domain to open hosts
Path is C:\WINDOWS\SYSTEM32\DRIVERS\ETC
After opening, write the domain name in the inside like www.cms.com
3. Modify the Apache configuration file httpd.conf
Found it
Remove the note
Modify
To open state
4. Modify Apa
Summary: Apache support Chinese domain name binding, Apache support Chinese domain name binding, teach you how to let Apache support Chinese domain name binding , according to my actual experience, how to let Apache support Chinese domain name binding, It's absolutely useful for Ap
Apache httpcomponentsThe beautiful Life of the Sun Vulcan (http://blog.csdn.net/opengl_es)This article follows "Attribution-non-commercial use-consistent" authoring public agreementReprint Please keep this sentence: Sun Vulcan's Beautiful Life-this blog focuses on Agile development and mobile and IoT device research: IOS, Android, HTML5, Arduino, Pcduino , Otherwise, the article from this blog refused to reprint or re-reproduced, thank you for your
Apache module development/C Language extension Apache (3: A very simple Apache module)
This article from: http://www.loveopensource.com /? P = 18 Original article: Apache module development/C Language extension Apache (3: A very s
If the Apache configuration/apache Tomcat configuration file is not handled well, it will bring considerable hidden trouble to the site, directory Traversal vulnerability, will expose all the site's directories to the visitors, experienced developers or hacker from these directories to know the current site information, such as development language, Server system, site structure, and even some sensitive inf
A few days ago in the Apache implementation of multi-tomcat load Balancing cluster through JK, the reference network configuration to configure the configuration file, access to the existing tomcat in the JSP file found that the Apache prompt URL does not exist, and then check the configuration file and the Tomcat project deployment, There is no problem with the configuration deployment found. Trying to acc
Some days before doing Apache through JK to achieve a multi-tomcat load Balancing cluster, the reference network configuration after configuring the profile, access to the existing Tomcat file in the Apache hint URL does not exist, and then check the configuration file and Tomcat deployment, Found no problem with configuration deployment. Attempting to access the Apache
In my last article, (4) How to operate an Excel file with Apache POI-----found POI-3.12 a regression, by testing the version of POI-3.12, I found a bug, then what to do when the bug was found. We have 2 kinds of processing, first we go to the Apache POI Bug Library to search, to see if others have created a similar bug, if there is created, this is the best result, we only need to focus on when the bug was
Apache Configuration
The Apache configuration is configured by the httpd.conf file, so the following configuration directives are modified in the httpd.conf file.Configuration of the primary site (basic configuration)
(1) Basic configuration:
ServerRoot "/mnt/software/apache2" #你的apache软件安装的位置. Other specified directories If you do not specify an absolute path
This article presents 5 tips for configuring Apache 1.3 or Apache 2.0 servers. We will describe the following configuration scenario: adjust Apache's
Accept ()serialization, Apache 2.0 threads, using
Mod_sslSSL session caching, optimizing keep-alive timeout values, and checking the server load to balance the amount of requests that the server can handle.
Acceptm
11.14-11.15 Apache and PHP combinedApache (httpd) configuration file:/usr/local/apache2.4/conf/httpd.conf.Configure ApacheSelect the PHP to invokeBecause this machine has two versions of PHP installed, this configuration is required, and if you install only one PHP service, the existing PHP service will be called by default (PHP5 is selected here).[Email protected] ~]# vim/usr/local/apache2.4/conf/httpd.conf......LoadModule Php5_module modules/libphp5
1.apache
Download the Apache for Linux source package on the following page
http://www.apache.org/dist/httpd/;
Save to/home/xx directory, XX is a self-built folder, I built a WJ folder.
List of commands:
Cd/home/wj
TAR-ZXVF httpd-2.0.54.tar.gz
MV httpd-2.0.54 Apache
CD Apache
./configure--prefix=/usr/local/apache2--en
The Apache Software Foundation announces that Apache SYSTEMML is graduating from the incubator and is officially the Apache Top Project (TLP).
Apache SYSTEMML is a machine learning platform that optimizes large data and provides the best place to work with machine learning with large data. It runs on the
11.14/11.15 Apache and PHP combinedWhen you start httpd, there are warning prompts to define the servername in the configuration file.Vim/usr/local/apache2.4/conf/httpd.confEnter/ServerName search to cancel the previous #, enter/ Php5.so Search will PHP7 or PHP5 commented out, according to the actual situation of the Apache module, I here is the comment PHP5, the comment php7 Restart service will error, bec
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.