In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/01 Report--
This article mainly introduces the use of Ubuntu AutoIndex, has a certain reference value, interested friends can refer to, I hope you can learn a lot after reading this article, the following let the editor take you to understand it.
Mod_Ubuntu AutoIndex module under windows, without the previous comments, httpd.conf under linux does not have a Mod_Ubuntu AutoIndex module. Check the httpd-list in the terminal to the bin directory and see that mod_Ubuntu AutoIndex.c is generally installed at compile time!
Add the directory in httpd.conf where you want to display the list:
# pay attention to the actual directory path you want to display Options Indexes FollowSymLinks# enable directory list index mode # Options Indexes# parameter set IndexOptions FancyIndexing ScanHTMLTitles NameWidth=328 DescriptionWidth=250 HTMLTable VersionSort FoldersFirst Charset=UTF-8
# ScanHTMLTitles: search HTML title # NameWidth: file life display bytes # DescriptionWidth: description display bytes # HTMLTable: allow HTML format # FoldersFirst: directory priority
# add file description
AddDescription "1.2.6 compressed version" jquery-1.2.6.pack.js AddDescription "UBUNTU8.04 compilation notes" LAMP installation process notes AddDescription "recommended VIM classic tutorial" learn vim.pdf AddDescription "small X provides the HTML version of" jQuery1.2API manual .rar AddDescription "this file is too large, let me know when you download!" PHP and MySQL.WEB development .pdf
# add icons to files and folders
DefaultIcon / data/index/icon/file.gif AddIcon / data/index/icon/close.gif ^ ^ direct ^ ^
# Index exclusion option IndexIgnore header.html footer.html# index header embedded file HeaderName / data/index/header.html# index bottom embedded file ReadmeName / data/index/footer.html
# default index sorting method IndexOrderDefault Ascending Date# turns off server flag
ServerSignature Off
AllowOverride All order allow,deny Allow from all
The header.html index header embeds the contents of the file: (take my machine as an example, refer to DIY)
A Jian B native FTP station var timedate= new Date ("August 8jue 2008"); var times= "Beijing Olympic Games"; var now = new Date (); var date= timedate.getTime ()-now.getTime (); var time = Math.floor (date / (1000 * 60 * 60 * 24)); if (time > = 0)
[xss_clean] (the opening of "away from 2008" + times+ "and" + time + "days
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.