티스토리 뷰
gitweb 설정 문제
gitweb.css, gitweb.js, git-logo.png 등등을 읽지 못하게 되어서 생긴 문제이다.
1. 못가져오는 파일들은 /usr/share/gitweb 에 위치함.
2. ln -s /usr/share/gitweb /var/www/gitweb
3. sudo vim /etc/gitweb.conf
4. restart apache
-정상동작하는 conf 파일=
/etc/gitweb.conf
1 # path to git projects (<project>.git)
2 $projectroot = "/var/cache/git";
3
4 # directory to use for temp files
5 $git_temp = "/tmp";
6
7 # target of the home link on top of all pages
8 #$home_link = $my_uri || "/";
9
10 # html text to include at home page
11 $home_text = "indextext.html";
12
13 # file with project list; by default, simply scan the projectroot dir.
14 #$projects_list = $projectroot;
15
16 # stylesheet to use
17 @stylesheets = ("/static/gitweb.css");
18
19 # javascript code for gitweb
20 #$javascript = "/static/gitweb.js";
21
22 # logo to use
23 $logo = "/static/git-logo.png";
24
25 # the 'favicon'
26 $favicon = "/static/git-favicon.png";
27
28 # git-diff-tree(1) options to use for generated patches
29 #@diff_opts = ("-M");
30 @diff_opts = ();
'GIT' 카테고리의 다른 글
[GIT] .gitignore (0) | 2024.05.09 |
---|---|
[GIT] 파일 무시하기(.gitignore) (0) | 2017.06.04 |
[GIT SERVER] SERVER ULTIMATE PRO 활용하여 GIT SERVER 운영하기1 (0) | 2017.06.03 |
GIT 명령어 자동완성 설정하기 (0) | 2012.08.22 |
- Total
- Today
- Yesterday
- 촬영
- Copilot
- android studio
- c#
- batch
- 스몰란드
- macro
- Server
- CPP
- Linux
- chatGPT
- driver
- Git
- Picture
- Python
- Windows
- VIA
- keyboard
- memory
- Intel
- AI
- window
- Proxy
- opencv
- GEMINI
- ubuntu
- window service
- 이케아
- GROK
- Android
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | 2 | 3 | 4 | 5 | 6 | 7 |
8 | 9 | 10 | 11 | 12 | 13 | 14 |
15 | 16 | 17 | 18 | 19 | 20 | 21 |
22 | 23 | 24 | 25 | 26 | 27 | 28 |
29 | 30 |