Wampserver2.5 Configuring the Virtual Host 403 Forbidden solution appears, wampserver403
has been used apmserv5.2.6,mysql good, you can use MARIADB instead of upgrading, but PHP upgrade to 5.4.7 there is no way to upgrade, install accelerator is also difficult. Just want to move to Wampserver, have tried wampserver before, but the configuration is very troublesome.
This time has to be configured, the installation is smooth, the default site is also working properly. But the problem comes when configuring the virtual host, always prompt:
Forbidden
You don't have permission to access/on the this server.
apache/2.4.9 (WIN32) php/5.5.12 Server at www.sitename.com Port 80
One, on the domestic website can search for information is the following:
Enable the httpd-vhosts.conf configuration file
Include conf/extra/httpd-vhosts.conf
2, modify the httpd-vhosts.conf, add similar to the following content:
ServerAdmin admin@localhost.com
DocumentRoot "D:/path/foldername"
ServerName www.sitename.com
Serveralias www.sitename.com
Errorlog "Logs/sitename.log"
Customlog "Logs/sitename.log" common
Options FollowSymLinks
AllowOverride None
Order Deny,allow
Allow from all
3. Modify the Hosts file
127.0.0.1 www.sitename.com
Try n back, waste n more time, no use at all.
Second, no way, had to change a search engine, read E, E-text level is not high, but still can understand.
E, there are two main points mentioned in the article:
Try to enable, restart Apache, the situation has not changed, or 403 error.
Test success, problem solving.
Iii. Summary
The reason is that the syntax for the Apache configuration file has changed. Because see Apache headache, content too much, too complex, so also do not bother to look at the official latest documents, and domestic translation of the version is also lagging behind, so this problem can not find the answer to the situation.
I hope this blog post will help a friend who is troubled by the same problems, no longer wasting time on those useless things that have been discovered by hundred X.
Unless noted, Ffsystem articles are original, reproduced please link to the form of this article address
This address: http://www.cnblogs.com/ffsystem/p/3950686.html
New configuration of virtual host, Web Access when prompted 403 error how to handle? What could be the reason?
The above errors may be displayed for several reasons:
A, the root directory does not have the home page file, if you have uploaded good files, then your home file may be in other folders, the location is wrong.
B, file format is not correct, if you buy space only support ASP or HTML, HTM, does not support PHP, then you upload PHP files, certainly can not access.
Apache Virtual Host configuration, when accessed 403
403 is a permission error
http://www.bkjia.com/PHPjc/872757.html www.bkjia.com true http://www.bkjia.com/PHPjc/872757.html techarticle Wampserver2.5 Configuring the virtual Host 403 Forbidden solution appears, wampserver403 has been used apmserv5.2.6,mysql good, you can use MARIADB instead of upgrading, but PHP upgrade to 5.4.7 did not ...