The apache stops and starts in bad conditions are bad.

Asked 1 years ago, Updated 1 years ago, 68 views

httpd.conf

Include/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf

I set the above setting, but when I stopped on the apache control panel, it didn't stop and left running, and I set it in httpd-vhosts.conf.
ServerName■■■■-localhost is also 403.
Previously, I was able to access it successfully.

Include/private/etc/apache2/extra/httpd-vhosts.conf

If set to , both stop and start can be successful, but if you access the URL localhost,
Error 403.

Close virtualhost with # at the beginning of Include and access localhost
The Welcome to XAMPP for OS X 5.6.37 screen appears.

DocumentRoot "/Applications/XAMPP/xamppfiles/htdocs"

Finally, I would like to be able to access the URL configured in virtualhost. What is happening to apache now?
Sorry for the inconvenience, but I would appreciate it if you could reply.
Thank you for your cooperation.

hosts

127.0.0.1 ■■■■ -localhost

Environment

 macOS HighSierra macOS HighSierra 10.13.6
XAMPP 5.6.37

apache xampp

2022-09-30 19:22

1 Answers

Include/private/etc/apache2/extra/httpd-vhosts.conf


Include/Applications/XAMPP/xamppfiles/etc/extra/httpd-vhosts.conf
and
After starting apache on the xampp controller panel, I was able to access the URL.
The apache stopped and started normally.


2022-09-30 19:22

If you have any answers or tips


© 2024 OneMinuteCode. All rights reserved.