自拍偷在线精品自拍偷,亚洲欧美中文日韩v在线观看不卡

Ubuntu AutoIndex一般在編譯時(shí)已經(jīng)安裝好

系統(tǒng) Linux
windows下Mod_Ubuntu AutoIndex模塊,去掉前面注釋,linux下的httpd.conf是沒有Mod_Ubuntu AutoIndex模塊的就在終端到 bin目錄httpd -list查看出mod_Ubuntu AutoIndex.c 一般在編譯時(shí)已經(jīng)安裝好!

在向大家詳細(xì)介紹Ubuntu AutoIndex之前,首先讓大家了解下Ubuntu AutoIndex,然后全面介紹Ubuntu AutoIndex,希望對(duì)大家有用。然后確定httpd.conf開啟了Ubuntu AutoIndex模塊。

windows下Mod_Ubuntu AutoIndex模塊,去掉前面注釋,linux下的httpd.conf是沒有Mod_Ubuntu AutoIndex模塊的就在終端到 bin目錄httpd -list查看出mod_Ubuntu AutoIndex.c 一般在編譯時(shí)已經(jīng)安裝好!

在httpd.conf里加入要顯示列表的目錄:

<Directory "/home/jian/wwwroot/ftp"> #注意實(shí)際你要顯示的目錄路徑Options Indexes FollowSymLinks#開啟目錄列表索引模式#Options Indexes#參數(shù)設(shè)置IndexOptions FancyIndexing ScanHTMLTitles NameWidth=328 DescriptionWidth=250 HTMLTable VersionSort FoldersFirst  Charset=UTF-8

  1. #ScanHTMLTitles:搜索HTML標(biāo)題  
  2. #NameWidth:文件命顯示字節(jié)數(shù)  
  3. #DescriptionWidth:描述顯示字節(jié)數(shù)  
  4. #HTMLTable:允許HTML格式  
  5. #FoldersFirst:目錄優(yōu)先 

#添加文件描述

  1. AddDescription "1.2.6壓縮版本" jquery-1.2.6.pack.js  
  2. AddDescription "UBUNTU8.04下編譯筆記" LAMP安裝過程筆錄  
  3. AddDescription "推薦VIM經(jīng)典入門教程" 大家來學(xué)vim.pdf  
  4. AddDescription "由小X提供HTML版" jQuery1.2API手冊(cè).rar  
  5. AddDescription "此文件過大,下載時(shí)通知我!" PHP與MySQL.WEB開發(fā).pdf 

#文件和文件夾添加圖標(biāo)

  1. DefaultIcon /data/index/icon/file.gif  
  2. AddIcon /data/index/icon/close.gif ^^DIRECTORY^^ 

#索引排除選項(xiàng)IndexIgnore header.html footer.html#索引頭部嵌入文件HeaderName /data/index/header.html#索引底部嵌入文件ReadmeName /data/index/footer.html
#默認(rèn)索引排序方式IndexOrderDefault Ascending Date#關(guān)閉服務(wù)器標(biāo)志

ServerSignature Off           

  1. AllowOverride All  
  2. order allow,deny  
  3. Allow from all  
  4. </Directory> 

header.html索引頭部嵌入文件內(nèi)容:(以下以我本機(jī)為例參考DIY就是)

  1. <!--// 網(wǎng)頁基本信息以及修飾配置部分_Start//--> 
  2. <div style=background-color:#123456;height:100px;padding:0;margin:0;> 
  3. <img src="/data/index/005.jpg" align="absmiddle" alt="阿健PHP"> 
  4. <span style=color:#fff;font-size:22px;>阿健B本機(jī)FTP站</span> 
  5. <Script Language="JavaScript"> 
  6. var timedatenew Date("August 8,2008");  
  7. var times="北京奧運(yùn)會(huì)";  
  8. var now = new Date();  
  9. var date = timedate.getTime() - now.getTime();  
  10. var time = Math.floor(date / (1000 * 60 * 60 * 24));  
  11. if (time >= 0) ; 

document.write("<font style='font-size:12px;line-height:18px;color:yellow'>離2008"+times+"開幕 還有:</font><font style='color:#F***100;line-height:32px;font-family:Verdana;font-size:24px;'><b>"+time +"</b></font><font style='font-size:12px;line-height:18px;color:yellow'>天</font& gt;");
</Script><span id="time" style=color:#fff;padding:0 60px 0 0;></span>

  1. <script language="javascript"> showtime();</script> 
  2. </div><!--// 網(wǎng)頁基本信息以及修飾配置部分_End//--> 
  3.  
  4. <table width=100border=0 cellspacing=0 cellpadding=0 bgcolor=#ffffff> 
  5. <tr> 
  6. <td bgcolor=f0f3fa> 
  7. <!--// 目錄內(nèi)容開始顯示部分_Start//--> 
  8. footer.html索引底部嵌入文件內(nèi)容:(一樣參考,注意注釋)  
  9. <!--// 目錄內(nèi)容開始顯示部分_EnD//--> 
  10. </td> 
  11. <td bgcolor="#f0f3fa"> 
  12. <!--// 中部右側(cè)修飾部分//--> 
  13. <img src="/data/index/jianbb.jpg" align="absmiddle" alt="阿健B"><br> 
  14. </td> 
  15. </tr> 
  16. </table> 

<!--// 網(wǎng)頁尾部基本信息以及修飾配置部分_Start//--><div style=background-color:#123456;height:60px;padding:5px;margin:0;><span style=color:#fff>歡迎光臨我的FTP站我的QQ:85171648</span><br>< span style=color:#fff>如果下載文件名亂碼,那就是因?yàn)橄到y(tǒng)默認(rèn)編碼造成,請(qǐng)重命名即可</span></div& amp; gt;
<!--// 網(wǎng)頁尾部基本信息以及修飾配置部分_End//-->

【編輯推薦】

  1. Ubuntu MySQL設(shè)置同步服務(wù)器
  2. Ubuntu mysql配置設(shè)置過程
  3. Ubuntu操作系統(tǒng)安裝使用應(yīng)該比較容易上手
  4. Ubuntu openSUSE這個(gè)版本對(duì)功能強(qiáng)大
  5. Ubuntu技巧使用GDebi來安裝包
責(zé)任編輯:佚名 來源: 博客園
相關(guān)推薦

2010-02-26 14:54:20

Linux vmwar

2020-06-09 08:09:07

機(jī)器學(xué)習(xí)統(tǒng)計(jì)學(xué)習(xí)無監(jiān)督學(xué)習(xí)

2021-08-19 09:16:29

MySQL數(shù)據(jù)庫(kù)優(yōu)化器

2021-08-16 08:42:31

MySQL查詢數(shù)據(jù)庫(kù)

2011-09-08 11:35:18

2010-10-08 14:23:08

MySQL中INSER

2010-09-14 10:55:14

DIV CSS網(wǎng)頁制作

2019-06-05 15:23:09

Redis緩存存儲(chǔ)

2017-08-31 14:09:26

數(shù)據(jù)庫(kù)MySQLSQL優(yōu)化

2012-06-27 09:29:49

程序員

2010-02-04 16:44:14

Ubuntu Mono

2010-01-04 10:06:56

Ubuntu gcc

2011-02-14 10:21:10

Ubuntu安裝

2010-03-31 09:51:38

CentOS系統(tǒng)

2022-04-02 10:52:33

Go開發(fā)面試

2010-01-07 14:31:59

Ubuntu編譯

2010-01-07 16:34:08

Ubuntu apac

2010-01-07 16:47:01

2010-02-06 17:08:58

Ubuntu ngin

2009-12-22 15:25:23

點(diǎn)贊
收藏

51CTO技術(shù)棧公眾號(hào)