Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Linux Note 15 uses Apache services to deploy static Web sites.

2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >

Share

Shulou(Shulou.com)06/02 Report--

Configure service file parameters

Configuration files in the Linux system

Service directory / etc/httpd main profile / etc/httpd/conf/httpd.conf website data directory / var/www/html access log / var/log/httpd/access_log error log / var/log/httpd/error_log

In the main configuration file of the httpd service program, there are three types of information: comment line information, global configuration, and zone configuration

There are three configuration modes for SELinux services, as shown below.

Enforcing: force the security policy mode to intercept illegal requests from the service.

Permissive: when you encounter unauthorized access to a service, you will only issue a warning and not force it to block it.

Disabled: no warning or intercept for ultra vires.

Three ways to configure a website

1. Based on IP address

2. Based on host domain name

3. Based on port number

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Servers

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report