In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly shows you "fedora how to open apache and open directory browsing mode", the content is easy to understand, clear, hope to help you solve your doubts, the following let the editor lead you to study and learn "fedora how to open apache and open directory browsing mode" this article.
A file server is temporarily needed in the intranet, so you are going to install a http server and turn on directory access. This time, use apache on the fedora 28 machine:
Because fedora 28 already includes httpd software, it can be started using systemctl start httpd.
Directory access is enabled by default at startup, but when you first access the root directory of the site, test page.
Go to the following folder:
[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
Comment on the above files:
[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
The httpd file configuration is as follows:
# # 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
This configuration indicates that directory permissions are enabled.
When it is over, you will see the following picture:
The above is all the contents of the article "how fedora opens apache and directory browsing mode". Thank you for reading! I believe we all have a certain understanding, hope to share the content to help you, if you want to learn more knowledge, welcome to follow the industry information channel!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.