Requirements: Alias a directory with a long path name in the Web service to facilitate user access
First determine that both the Iptables service and the SELinux are closed ...
First determine that both the Iptables service and the SELinux are closed ...
First determine that both the Iptables service and the SELinux are closed ...
Important thing to say three times ...
———————————————————————————————— I'm a split line ————————————————————————————————————————
Method 1: Write the red box content directly in the httpd.conf, and restart the HTTPD service after the modification.
Method 2: Write red box content in custom configuration file, restart httpd service after modification
Step 1: Edit the Custom configuration file first, save.
Step 2: Then use the include statement in the httpd.conf file to introduce the path to the custom configuration file, and restart the httpd service