iis 配置檔案 日誌檔案 所在路徑

2021-10-03 08:11:11 字數 583 閱讀 8335

預設日誌路徑

由於不同的 windows 版本,iis日誌路徑不一樣,所以分別介紹如下:

1、windows server 2003 iis日誌路徑:c:\windows\system32\logfiles

2、windows server 2008 r2 iis日誌路徑:c:\inetpub\logs\logfiles

3、c盤為系統盤。由於每個**,iis 都會自動生成乙個儲存日誌的資料夾,所以 具體 iis日誌位置在 logfilse 資料夾中的乙個子資料夾裡,例如: c:\windows\system32\logfiles\w3svc2。

預設配置檔案路徑

iis 5 中,iis的配置檔案在:

c:\winnt\system32\inetsrv\metabase.bin

iis 6 中,iis 的配置檔案在:

c:\windows\system32\inetsrv\metabase.xml

想修改這個檔案需要把iis對應的服務關掉,這樣才能修改這個檔案,通過directoryentry類可以修改此檔案實現程式配置iis。

lighttpd 配置檔案的路徑

etc lighttpd lighttpd.conf為 lighttpd 伺服器的配置檔案 根目錄 對映在機器上的物理路徑 如果 目錄中出現以下檔名,不用指定檔名便可直接訪問 index file.names index.php index.html index.htm default.htm li...

獲取MySQL配置檔案路徑

在實際工作中,mysql可能會涉及多個配置檔案,但是因為各種原因我們無法找到它們的路徑,那麼我們可以通過以下命令找到 首先找到mysqld的路徑 which mysqld usr sbin mysqld通過mysqld找到所有配置檔案的路徑 default options are read from...

Spring配置檔案路徑詳解

org.springframework.web.context.contextloaderlistener spring就會被自動載入 contextconfiglocation這裡寫路勁 注 以上路徑只是舉例,具體使用還是要針對真是專案的 1 spring配置檔案在web inf下面 這種情況你可...