티스토리 뷰
mod_userdir
리눅스 사용자의 home 디렉토리를 apache 의 DocumentRoot 로 인식하게 함
예)
userdir public_html 이라고 설정
URL 입력 : http://IP/~ID
apache 내부 동작 --> /home/ID/public_html
URL 입력 : http://IP/~ID/1234
apache 내부 동작 --> /home/ID/public_html/1234
리눅스 계정 홈 디렉토리 확인 (계정이름 : liveimg)
cat /etc/passwd
liveimg:x:1001:1001::/home/liveimg:/bin/bash
: /home/liveimg 가 홈디렉토리임
'Linux' 카테고리의 다른 글
monit 설치 (1) | 2019.03.20 |
---|---|
ctime, atime, mtime 리눅스 (0) | 2019.03.18 |
You need to implement a remote task_setrlimit in your security module and call it directly from this functionWARNING: at security/security.c:51 security_ops_task_setrlimit() (0) | 2019.03.08 |
anacron (0) | 2019.03.07 |
wordpress (0) | 2019.02.20 |
댓글
공지사항
최근에 올라온 글
최근에 달린 댓글
- Total
- Today
- Yesterday
링크
TAG
- Apache
- 베이어다이나믹
- mariadb
- 리눅스
- php
- ssh
- iptables
- pptp
- softether
- galera
- kvm
- GeoIP
- centos8
- IPSEC
- gitlab
- virtualbox
- WAF
- cURL
- OpenVPN
- NGINX
- centOS7
- yum
- L2TP
- glusterfs
- SSL
- ntp
- mod_security
- 인증서
- MySQL
- HAProxy
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
글 보관함