일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- iptables
- 디스크
- Linux
- pid
- ext4
- cadre
- Python
- apachetop
- Performance
- Cache
- rm
- Bash
- goaccess
- DNS
- PORT
- Hack
- rm -rf
- Disk
- http
- 좌절교육
- ext3
- windows
- rsync
- 쇼펜의상속자 #킨텍스메가쇼 #섬유향수탈취제
- 칭찬교육
- 솔라리스
- CPU
- PERL
- 리눅스
- Kernel
- Today
- Total
Ben's
thttpd config 본문
http://pbraun.nethence.com/unix/www/thttpd.html
%imgsrc /images/bill.gif
Change the colors
Eventually change the default green background to white,
and clean up the BODY tags (two occurences).
note. one could also edit the defaults,
but they're fine. Even INDEX_NAMES eventually points to index.cgi, already.
Compilation
Create the needed groupthttpd user and group,
note. otherwise you would get this error doing 'make install',
Compile and install,
note. if you get this error doing 'make',
replace 'getline' by 'my_getline' in extras/htpasswd.c (two occurences).
Configuration
Create the web dir and some user,
Configure thttpd,
like,
Note. other charsets: 8859-1, 8859-15
Create a virtual host,
Note. directory listing is enabled as long the directory has the 'x' permission
Usage
Start the daemon,
enable it at boot time,
Check the vhost is working. Open your web browser to the URL e.g.,
Todo
Configure a minimal chrooted CGI environment,
test it,
'리눅스' 카테고리의 다른 글
real time 웹로그 보는 툴 (0) | 2013.06.04 |
---|---|
iftop (0) | 2013.04.22 |
rm --preserve-root 옵션 소개 (0) | 2013.04.08 |
mv --strip-trailing-slashes 옵션 소개 (0) | 2013.04.05 |
성능 튜닝 (0) | 2013.01.21 |