Apache2 + Gitlist 問題 - Linux

Table of Contents

大家好
小弟想在ubuntu 14.04 上架一個gitlist
目前apache2 跟 gitlist 皆已安裝完畢
小弟參考 此文章( http://my.oschina.net/aulphar/blog/201813 )

但遇到一個問題 開啟網頁 可以看到我上傳的專案
可是只要點進專案 網頁卻顯示
-----------------------------------------------------------
Not Found

The requested URL /123.git/ was not found on this server.
----------------------------------------------------------

小弟專案 擺在 /home/ubuntu/git/123.git

gitlist 擺在 /home/ubuntu/git/gitlist
在/var/www/ 用 ln -s /home/ubuntu/git/gitlist html 作連結

apache2.conf 無修改用預設config

gitlist/config.ini 只修改
repositories[] = '/home/ubuntu/git/' 把它指向我的專案

看網頁的訊息 似乎是在/var/www/html/ 下找不到123.git

但如果我把專案移過去 似乎也不太對

想請問架過 gitlist 的大大們 是我的設定檔有問題??

還是我環境目錄擺放位置有問題??


謝謝!!

--

All Comments

Faithe avatarFaithe2015-09-02
感覺像是 url rewrite 沒開
Elma avatarElma2015-09-05
執行 a2enmod rewrite 然後 apache 的設定檔要允許
Hedda avatarHedda2015-09-07
overwrite apache 設定檔加個 override all 後重啟
Iris avatarIris2015-09-08
已解決 感謝上大大的幫助