fedora如何开启apache并开启目录浏览模式
发表于:2025-12-02 作者:千家信息网编辑
千家信息网最后更新 2025年12月02日,这篇文章主要为大家展示了"fedora如何开启apache并开启目录浏览模式",内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下"fedora如何开启apache
千家信息网最后更新 2025年12月02日fedora如何开启apache并开启目录浏览模式
这篇文章主要为大家展示了"fedora如何开启apache并开启目录浏览模式",内容简而易懂,条理清晰,希望能够帮助大家解决疑惑,下面让小编带领大家一起研究并学习一下"fedora如何开启apache并开启目录浏览模式"这篇文章吧。
在内网中 暂时需要一台 文件 服务器,所以准备安装一台 http服务器并开启目录访问权限。这次使用 apache 在 fedora 28 机器上:
因为 fedora 28 已经包含 httpd 软件,使用systemctl start httpd 就能进行启动。
启动时 默认开启 目录访问权限,但是首次访问网站根目录的时候,会显示test page.
进入如下文件夹:
[root@dhcp-65-15 conf.d]# pwd/etc/httpd/conf.d
[root@dhcp-65-15 conf.d]# cat welcome.conf## This configuration file enables the default "Welcome" page if there# is no default index page present for the root URL. To disable the# Welcome page, comment out all the lines below.## NOTE: if this file is removed, it will be restored on upgrades.#Options -Indexes ErrorDocument 403 /.noindex.html AllowOverride None Require all granted
进行注释上述文件:
[root@dhcp-65-15 conf.d]# cat welcome.conf## This configuration file enables the default "Welcome" page if there# is no default index page present for the root URL. To disable the# Welcome page, comment out all the lines below.## NOTE: if this file is removed, it will be restored on upgrades.### Options -Indexes# ErrorDocument 403 /.noindex.html# ## AllowOverride None# Require all granted# #Alias /.noindex.html /usr/share/httpd/noindex/index.html
httpd 文件配置如下所示:
# # Possible values for the Options directive are "None", "All", # or any combination of: # Indexes Includes FollowSymLinks SymLinksifOwnerMatch ExecCGI MultiViews # # Note that "MultiViews" must be named *explicitly* --- "Options All" # doesn't give it to you. # # The Options directive is both complicated and important. Please see # http://httpd.apache.org/docs/2.4/mod/core.html#options # for more information. # Options indexes FollowSymLinks # # AllowOverride controls what directives may be placed in .htaccess files. # It can be "All", "None", or any combination of the keywords: # Options FileInfo AuthConfig Limit # AllowOverride None # # Controls who can get stuff from this server. # Require all granted
Options indexes FollowSymLinks
这个配置表明为 开启目录权限
结束后,你会看到如下所示画面:
以上是"fedora如何开启apache并开启目录浏览模式"这篇文章的所有内容,感谢各位的阅读!相信大家都有了一定的了解,希望分享的内容对大家有所帮助,如果还想学习更多知识,欢迎关注行业资讯频道!
目录
文件
模式
浏览
内容
权限
篇文章
服务器
学习
帮助
服务
配置
文件夹
时候
易懂
更多
机器
条理
根目录
注释
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
科技铁幕下的网络安全审查
网络安全主动威胁包括哪些
方舟服务器人物下线时间会静止吗
传统网络安全知识
excel导入数据库失败
如何评论网络安全
北京博齐世纪网络技术服务
数据库本地地址填什么
关于皮肤病的数据库
华为服务器快速启动
深圳聊天软件开发外包
好乐迪互联网科技有限公司
网络安全 建设加密通信
广州戴尔霄龙服务器方案
网络安全10个小常识
一款软件开发需要的技术
华理网络安全教育网址
服务器行业怎么样
gee引擎服务器启动加载不了
浙江软件开发驻场大概多少钱
海南邵赢网络技术有限公司官网
魔兽世界月卡数据库
电信服务器托管要多久
怀旧服联盟服务器怎么开启
php访问数据库技术介绍
信息网络安全法颁布
国家电网网络安全制度
属于网络安全防护措施的是
福建ios手机软件开发
网络安全部门的工作总结