Re: [問題] 關於apache

看板Network作者 (不會再想起)時間19年前 (2005/11/22 13:42), 編輯推噓0(000)
留言0則, 0人參與, 最新討論串2/2 (看更多)
※ 引述《itemark (不會再想起)》之銘言: : 我用localhost連可以出現default的那個畫面 : 從外面連卻得到 : Not Acceptable : An appropriate representation of the requested resource /apache2-default/ : could not be found on this server. : Available variants: : index.html.ca , type text/html, language ca : index.html.cz.iso8859-2 , type text/html, language cz, charset iso-8859-2 : index.html.de , type text/html, language de : index.html.dk , type text/html, language da : index.html.el , type text/html, language el : index.html.en , type text/html, language en : index.html.es , type text/html, language es : index.html.et , type text/html, language et : index.html.fr , type text/html, language fr : index.html.it , type text/html, language it : index.html.ja.iso2022-jp , type text/html, language ja, charset iso-2022-jp : index.html.ko.euc-kr , type text/html, language ko, charset euc-kr : index.html.nl , type text/html, language nl : index.html.no , type text/html, language no : index.html.po.iso8859-2 , type text/html, language pl, charset iso-8859-2 : index.html.pt , type text/html, language pt : index.html.pt-br , type text/html, language pt-br : index.html.ru.cp-1251 , type text/html, language ru, charset windows-1251 : index.html.ru.cp866 , type text/html, language ru, charset cp866 : index.html.ru.iso-ru , type text/html, language ru, charset iso-8859-5 : index.html.ru.koi8-r , type text/html, language ru, charset koi8-r : index.html.ru.utf8 , type text/html, language ru, charset utf-8 : -------------------------------------------------------------------------------- : Apache/2.0.54 (Debian GNU/Linux) mod_python/3.1.3 Python/2.3.5 PHP/4.3.10-16 : mod_perl/1.999.21 Perl/v5.8.4 Server at 140.117.169.200 Port 80 : 以上的狀況 : 然而我點任何一個html進去 : 都可以看到如同localhost底下會看到的畫面 只是語言不一定會相同 : 這是什麼原因 : 是我的/var/www下裝太多其它語言的版本了嗎? 剛剛排除狀況了 原因是預設的首頁為index.html 雖然有很多種語言的版本但沒有一個檔名完全符合 於是server只好讓我列出來讓我選 只要把其中一個的檔名換成index.html 連進server就只會讀那一個檔 自然也就沒問題了 -- 朋友們總是比你更了解我. 朋友們總是會替我著想. 朋友們總是擔心我的生活. -- ※ 發信站: 批踢踢實業坊(ptt.cc) ◆ From: 140.117.187.31
文章代碼(AID): #13Wg_WuM (Network)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
文章代碼(AID): #13Wg_WuM (Network)