![](https://korodes.com/wp-content/uploads/2023/10/4e73eea7315715f90dc826923f779c9d-640x360.jpg)
Ubuntu Server23.04 ; WEB Server(Apache)
Apache2 Install
Allow http:80 port and https:443 port in UFW first.
3 Apache2 : Using Perl Scripts
Enable CGI to make Perl scripts available
①Perl Install
4 Apache2 : Using PHP Scripts
①PHP Install
5 Apache2 : Virtual Host Settings
①Copy the default configuration file (file name is arbitrary, in this case vhost-yourdomain.conf as an example) and configure the virtual host
6. Digest authentication with Apache2
Since Basic Authentication, a well-known authentication authentication method for http, transmits 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 the authentication information and sends it in encrypted form, so there is almost no risk of information leakage.