Apache IIS Configuration Web Site Directory
My Apache installed after no vhosts file, in the Configuration directory config file only; Configure the site virtual rate directory is how to configure AH
The port I installed is 8080
80 IIS is installed
I have this configuration under Apache's httpd.conf:
ServerAdmin 1150665265@qq.com
DocumentRoot C:/apache/vote/public
ServerName vote.com:8080
Options FollowSymLinks
AllowOverride None
Order Allow,deny
Allow from all
In the hosts this configuration: 127.0.0.1 vote.com:8080
But why can't I find a webpage when I enter vote.com:8080/index.php?
Reply to discussion (solution)
In the extra directory there is a httpd-vhosts.conf file, put that paragraph into the inside. And make sure you open the Vhost in httpd.conf.
But I don't have that file in my installation directory. Extra and httpd-vhosts.conf files
Find an integrated environment to reinstall it, Wamp, XAMPP can.
The configuration of virtual space is to be configured in extra/httpd_vhosts.conf http.conf, our virtual host configuration, it is best not to write in httpd.conf, httpd.conf of course also need to be set up, that is to open Include conf/extra/httpd-vhosts.conf this line. My advice is the same as upstairs, you'd better reinstall it.
You can take a look at the Hanshunping _php from getting started to mastering. Video Tutorial. 31st. Build and install the PHP development environment using the ①.APPSERV kit. Install a kit.
At the end of Apache httpd.conf, add:
Listen 8800
ServerAdmin 1150665265@qq.com
DocumentRoot C:/apache/vote/public
ServerName vote.com
In the hosts this configuration: 127.0.0.1 vote.com
After configuring Apache, remember to restart Apache.
My installation is IIS and Apache two servers. In this way, the test home page for IIS