How to modify the default homepage of apache

王林
Release: 2020-12-30 10:05:26
forward
4685 people have browsed it

How to modify the default homepage of apache

The specific steps to modify the default homepage of apache under Linux are as follows:

(Learning video sharing:Programming video)

1. cd /etc/apache2/sites-available

2. vim 000-default.conf

Modify path

ServerAdmin webmaster@localhost
DocumentRoot /var/ www/html/iBook2.0 (show homepage)

3. Restart Apache

service apache2 restart

Related recommendations:apache tutorial

The above is the detailed content of How to modify the default homepage of apache. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!