Apache 目錄瀏覽設定

修改在 C:\AppServ\Apache2.2\conf 目錄中的 httpd.conf 檔案內容:

Alias /SundayMessage "d:/SundayMessage"

<Directory "d:/SundayMessage">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
      <IfModule mod_autoindex.c>
            Options Indexes FollowSymLinks
            IndexOptions FancyIndexing
            IndexOptions VersionSort
            IndexOptions HTMLTable
            IndexOptions FoldersFirst
            IndexOptions IconsAreLinks
            IndexOptions IgnoreCase
            IndexOptions SuppressDescription
            IndexOptions SuppressHTMLPreamble
            IndexOptions XHTML
            IndexOptions IconWidth=16
            IndexOptions IconHeight=16
            IndexOptions NameWidth=128
            IndexOrderDefault Descending Name
            HeaderName /index-style/header.html
            ReadmeName /index-style/footer.html
        </ifModule>
</Directory>

沒有留言: