Home > Article > Backend Development > Create a virtual host with apache2.2_PHP tutorial
apache2.2 creates virtual host
Modify C:WINDOWSsystem32driversetchosts
Added 192.168.0.80 phpweb20
Then modify the httpd.conf file
ServerName phpweb20
DocumentRoot "C:/WAMP/Apache/htdocs/workspace/flex/phpweb20/htdocs"
AllowOverride All
Options All
php_value include_path ".;C:/WAMP/Apache/htdocs/workspace/flex/phpweb20/include;C:/WAMP/php/PEAR"
php_value magic_quotes_gpc off
php_value register_globals off
Then enter http://phpweb20/ in the browser. The directory cannot be opened and the connection failure is displayed
This is only possible with 127.0.0.1 phpweb20. Do you guys know why?
Let me answer