Rocky Linux8.6 : WEB Server
1. Install Apache2 & Virtual Host
1.1 Install Apache2
①Install httpd
# dnf -y install httpd
Version Check
# httpd -v
Server version: Apache/2.4.37 (rocky)
Server built: May 10 2022 18:05:14
2. Use of CGI Scripts
①Confirmation of CGI availability
# grep -n "^ *ScriptAlias" /etc/httpd/conf/httpd.conf
3. PHP installation and configuration
1.Install PHP
①install
4. Digest authentication with Apache2
Since Basic Authentication, a well-known authentication authorization method for http, sends authentication information in plain text, there is a risk of ID and password leakage if the packet is intercepted.
On the other hand, Digest Authentication encrypts and transmits authentication information, so there is almost no risk of information leakage.
2022.06.08
Rocky Linux8.6 Building a server