Dreamer

window

403错误的解决(win下apache服务器)

August 8, 2009 by dreamer

配置好apache服务器后,访问虚拟主机出现403错误,即没有权限访问。 在网上搜索了解决方法,不过我对这个方法表示一些怀疑,先摘抄原文如下: 请教出现这个问题的原因是什么呢?如何解决? 这可能是由于你更改了你的DocumentRoot,如 D:/test 。用记事本打开Apache的httpd.conf。而更改了这个默认值后,下面还有一个值是要随着更改的。就在它下面不远的地方,有这样一段: # # This should be changed to whatever you set DocumentRoot to. # <Directory “D:/test”> 中括号里的内容就是你更改的新值。这样就不会出现403错误了。 <Directory “/var/www/html1/”> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory> 修改了Apache的httpd.conf,一定要重启Apache服务器。否则你测试仍然会失败。而有的朋友在做了上面的一步时,仍然会有同样的错误提示。可能是你的Apache版本的问题。 你仔细检查一遍配置文件httpd.conf,找到这么一段: <Directory />      Options FollowSymLinks      AllowOverride None      Order deny,allow      deny from all      Satisfy all … [Read more…]

Posted in: 服务器 Tagged: 403, apache, httpd.conf, window

Categories

  • ACG
  • Flash3D
  • Interaction&Front-end
  • Life
  • Mobile
  • User Interface
  • Visual Design
  • 工作整理
  • 懒人食谱
  • 服务器

Recent Comments

  • dreamer on Kill IE6?
  • 曉行 on Kill IE6?
  • Benny on 互动设计是神马?
  • 人人都爱vancl | Dreamer on 互动设计是神马?
  • dreamer on http协议复习笔记摘要

Tags

3dmax 3Z 403 960 Grid System acg android apache call to action code collada css CSS framework dae Designing Interactions Designing Interfaces diy Don't Make Me Think flash G7 gallery html http httpd.conf ie6 iPad 2 mysql papervision3d php programing PV3D realign shelock holmes wap web window wordpress xhtml xhtml mp 互动设计 产品 便当 凡客 咖喱 手机 手机网站

Copyright © 2025 Dreamer.

Mobile WordPress Theme by themehall.com