XAMPP project directory customization after 403 Access Forbidden

Source: Internet
Author: User

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

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.