How can I configure apache in the following situations?
Source: Internet
Author: User
How can I configure apache in the following situations? -- Linux Enterprise Application-Linux server application information. For details, refer to the following section. Redhat Enterprise Edition
Tar zxvf httpd-2.2.3.tar
./Configure -- prefix =/usr/dong
Make
Make install
Put yahoo.html under/usr/dong/htdocs/yahoo
/Usr/dong/conf/httpd. conf
Directoryindex yahoo.html index.html
ServerAdmin webmaster@dummy-host.example.com
DocumentRoot/usr/dong/htdocs/yahoo
Servername www.yahoo.com
Errorlog logs/dummy-host.exalple.com-error_log
Customlog logs/dummy-host.example.com-access_log common
The local IP address is 192.168.2.110.
However, the following problem occurs when starting/usr/dong/bin/apachectl restart. How can this problem be solved?
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.
A Free Trial That Lets You Build Big!
Start building with 50+ products and up to 12 months usage for Elastic Compute Service