Apache 403 错误:You don’t have permission to access / on this server

今天想在服务器上再加个网站,结果发现Apache竟然出现了传说中的403错误。显示信息

You don’t have permission to access / on this server

开始以为是哪里配置错了,可看了DocumentRoot没错,弄了半天也没好。最后才想起来上百度。结果很快就找到答案了。

方法一:增加一段目录配置代码

<Directory “\Your_New_DocumentRoot\”> 中引号号里的内容就是你更改的新目录。这样就不会出现403错误了。 例如: <Directory “/var/www/html1/”> Options Indexes FollowSymLinks AllowOverride None Order allow,deny Allow from all </Directory>

方法二:修改原来根目录代码

<Directory /> Options FollowSymLinks AllowOverride None Order deny,allow Deny from all </Directory>

将其中的“Deny from all”修改为“Allow from all”即可。

Zend Studio 5.5中文破解版

为了学习php,今天下载了个Zend Studio 5.5,破解版的。 安装完后,发现是英文界面,英文虽然都认识,但还是中文看着舒服。到百度了一下,有结果了。 1.打开

C:\Documents and Settings\Administrator\ZDE\config_5.5\desktop_options.xml

2.找到

<locale language="en" country="" variant=""/>

修改为

<locale language="zh" country="" variant=""/>

<encoding name="default"/>

改为

<encoding name="UTF-8"/>

注意:要在关闭zend软件的情况下改,否则又会被改回来了。

打开Zend Studio 界面已经是中文的啦 OVER

我的信条

生命在于折腾,生命不息,折腾不止

按月存档