Edge browser prompts fatal error when opening a domain name without www
P粉681108560
P粉681108560 2022-08-14 18:44:53
0
0
671

I want to ask for advice. I built a website using Drupal to learn from. However, when I open it with the Edge browser, if the domain name does not contain WWW, an error will appear. Chrome browser can be opened normally with or without WWW.

PHP 7.4.30

MYSQL 5.7.38-41-log

Apache

Drupal 9.4.5

With WWW and Domain names without WWW have already made A records pointing to IP

Error content:

Fatal error: require(): Failed opening required '/home/customer/ www/xxxxxx.com/public_html/vendor/autoload.php' (include_path='.:/usr/local/php74/pear') in /home/customer/www/xxxxxxx.com/public_html/autoload.php on line 16

P粉681108560
P粉681108560

reply all (0)
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!