2011-11-29 53 views
0

下午好,服務器端包含失敗 - 非HTML編碼需要幫助

我有我試圖重建代表客戶端的Web服務器,我有我試圖擺脫一些錯誤。

... <snipped from site> 

</div> 
</div> 
<div class="clearfix"></div> 
<!--#include virtual="/includes/incfooter.shtml" --> 
</body> 
</html> 

... <end of code> 

在每個頁面的底部,我有這個參考。現在我的理解是,Web服務器,在這種情況下,Apache將取代文本內容的文件/includes/incfooter.shtml

對我來說,這看起來像一個絕對路徑,而不是一個相對路徑,所以我我真的很想知道我的服務器上需要放置這個文件的位置!

<hair ripping out> 
This is really getting me! 
</hair ripping out> 

請幫忙! :)

+0

mod_include負責:選項+包括(或IncludesNoExec)沒有設置包括過濾器除去 我得到我的日誌上面的警告,但在我的conf.d目錄我有以下的,(在.conf文件,謝謝!) 選項+包括 將AddType text/html的的.shtml AddOutputFilter INCLUDES的.shtml –

回答

0

我通過調整對文件夾的權限解決了這個問題,我想我做到了早前我沒有