配置完Apache+PHP后!出现了这个问题!请问怎样解决呢?

maxid 2002-05-14 12:57:59
Forbidden
You don't have permission to access / on this server.


--------------------------------------------------------------------

Apache/1.3.24 Server at www.kernel.org.cn Port 80

我输入127.0.0.1后就这样了!应该看到一些目录和文件才对的!为什么会这样呢!请问各位学长,是什么原因呢!怎样解决呢?
...全文
87 8 打赏 收藏 转发到动态 举报
写回复
用AI写文章
8 条回复
切换为时间正序
请发表友善的回复…
发表回复
maxid 2002-05-15
  • 打赏
  • 举报
回复
呵呵!问题已经解决了!我回来就给分!感谢你们!
sunblue 2002-05-15
  • 打赏
  • 举报
回复
hehe,都答完了,我就不答了
马斯基社艾斯 2002-05-15
  • 打赏
  • 举报
回复
这是因为目录下没有index.htm文件,你的配置中没有允许列目录,所以显示无权限,你做个index文件放进去就好了
LeeMaRS 2002-05-14
  • 打赏
  • 举报
回复
这是好事呀.列Index出来是很危险的.

如果你执意要打开 请看以下部分:

<Directory "E:/server/program/Apache/htdocs">

#
# This may also be "None", "All", or any combination of "Indexes",
# "Includes", "FollowSymLinks", "ExecCGI", or "MultiViews".
#
# Note that "MultiViews" must be named *explicitly* --- "Options All"
# doesn't give it to you.
#
Options FollowSymLinks MultiViews // 注意 就是这里了!!!!!!!!

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options", "FileInfo",
# "AuthConfig", and "Limit"
#
AllowOverride None

#
# Controls who can get stuff from this server.
#
Order allow,deny
Allow from all
</Directory>

请将
Options FollowSymLinks MultiViews
改为
Options FollowSymLinks MultiViews Indexes

重启Apache即可

maxid 2002-05-14
  • 打赏
  • 举报
回复
没人会吗?
maxid 2002-05-14
  • 打赏
  • 举报
回复
Not Acceptable
An appropriate representation of the requested resource / could not be found on this server.
Available variants:

index.html.ca , type text/html, language ca
index.html.cz , type text/html, language cz
index.html.de , type text/html, language de
index.html.dk , type text/html, language da
index.html.ee , type text/html, language et
index.html.el , type text/html, language el
index.html.en , type text/html, language en
index.html.es , type text/html, language es
index.html.fr , type text/html, language fr
index.html.he.iso8859-8 , type text/html, language he, charset iso-8859-8
index.html.it , type text/html, language it
index.html.ja.jis , type text/html, language ja, charset iso-2022-jp
index.html.kr.iso-kr , type text/html, language kr, charset iso-2022-kr
index.html.lu , type text/html, language ltz
index.html.nl , type text/html, language nl
index.html.nn , type text/html, language nn
index.html.no , type text/html, language no
index.html.po.iso-pl , type text/html, language pl, charset iso-8859-2
index.html.pt , type text/html, language pt
index.html.pt-br , type text/html, language pt-br
index.html.ru.cp-1251 , type text/html, language ru, charset windows-1251
index.html.ru.cp866 , type text/html, language ru, charset cp866
index.html.ru.iso-ru , type text/html, language ru, charset iso-8859-5
index.html.ru.koi8-r , type text/html, language ru, charset koi8-r
index.html.ru.ucs2 , type text/html, language ru, charset ucs-2
index.html.ru.ucs4 , type text/html, language ru, charset ucs-4
index.html.ru.utf8 , type text/html, language ru, charset utf-8

--------------------------------------------------------------------------------

Apache/1.3.24 Server at www.kernel.org.cn Port 80
maxid 2002-05-14
  • 打赏
  • 举报
回复
DocumentRoot "D:/phpserver/wwwroot"
LoadModule php4_module d:/phpserver/PHP/sapi/php4apache.dll
AddModule mod_php4.c
AddType application/x-httpd-php .php
AddType application/x-httpd-php .php3
sunblue 2002-05-14
  • 打赏
  • 举报
回复
你给目录建index没有,
就是文件夹的选项里面有一项的,如果没有的话,就不会看到
Forbidden
You don't have permission to access / on this server.
而且这个问题不一定是index的问题,你把你改动的那几项贴一下把
基于数据驱动的 Koopman 算子的递归神经网络模型线性化,用于纳米定位系统的预测控制研究(Matlab代码实现)内容概要:本文围绕“基于数据驱动的Koopman算子的递归神经网络模型线性化”展开,旨在研究纳米定位系统的预测控制问题,并提供整的Matlab代码实现。文章结合数据驱动方法与Koopman算子理论,利用递归神经网络(RNN)对非线性系统进行建模与线性化处理,从而提升纳米级定位系统的精度与动态响应性能。该方法通过提取系统隐含动态特征,构建近似线性模型,便于后续模型预测控制(MPC)的设计与优化,适用于高精度自动化控制场景。文中还展示了相关实验验证与仿真结果,证明了该方法的有效性和先进性。; 适合人群:具备一定控制理论基础和Matlab编程能力,从事精密控制、智能制造、自动化或相关领域研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①应用于纳米级精密定位系统(如原子力显微镜、半导体制造设备)中的高性能控制设计;②为非线性系统建模与线性化提供一种结合深度学习与现代控制理论的新思路;③帮助读者掌握Koopman算子、RNN建模与模型预测控制的综合应用。; 阅读建议:建议读者结合提供的Matlab代码逐段理解算法实现流程,重点关注数据预处理、RNN结构设计、Koopman观测矩阵构建及MPC控制器集成等关键环节,并可通过更换实际系统数据进行迁移验证,深化对方法泛化能力的理解。

21,891

社区成员

发帖
与我相关
我的任务
社区描述
从PHP安装配置,PHP入门,PHP基础到PHP应用
社区管理员
  • 基础编程社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧