---
title: "Xampp 配置出现403无法访问"
author: "hualikejava"
date: "2012-12-20T11:22:03Z"
tags: []
categories: ["Web前端"]
slug: "xampp-403"
draft: false
lastmod: "2012-12-20T11:21:51Z"
id: 1750855
url: "https://hualikejava.iteye.com/blog/1750855"
---

找到\\xampp\\apache\\conf\\httpd.conf配置文件

## Access forbidden!

You don’t have permission to access the requested directory. There is either no index document or the directory is read-protected.

If you think this is a server error, please contact the webmaster.

## Error 403

解决方法

找到Directory 目录然后进行复制权限；主要红色字

&lt;Directory /&gt;  
    Options FollowSymLinks  
    AllowOverride None  
    Order deny,allow  
    Deny from allow  
&lt;/Directory&gt;