XAMPP installation process is not described in detail, first to briefly review the XAMPP configuration:
\xampp\apache\conf\extra\httpd-vhosts.conf
<virtualhost *: the> ServerAdmin [email protected]DOMAIN.TDDocumentRoot"Drive Letter:/path/project directory"ServerName DOMAIN.TD # DOMAIN.TD for custom server name, as long as you like ... Feel free to Serveralias WWW.DOMAIN.TD# WWW.DOMAIN.TD Domain name alias for project localhost access, and corresponding errorlog above"logs/Domain.td-error.log"# Generate log file, file name arbitrarilyCustomlog"logs/Domain.td-access.log"combined# Generate log file, file name arbitrarily
</VirtualHost>
C:\Windows\System32\drivers\etc\hosts
127.0. 0.1 WWW.DOMAIN.TD
"System Environment"
Win7
Problem
After setting the domain name alias for the project access, open the browser access WWW.DOMAIN.TD Discover 403 Access Forbidden
"Workaround"
After some Google, locked \xampp\apache\conf\httpd.conf file, E word look really tired ah
<directory/> Options followsymlinks allowoverride None Order deny,allow from All # original default settings from all # changed to allow problem resolution </Directory>
XAMPP project directory customization after 403 Access Forbidden