RadarURL

조회 수 4911 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

가 크게 작게 위로 아래로 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

가 크게 작게 위로 아래로 댓글로 가기 인쇄

1. 사용자 계정(유저)별로 웹서버 운영하기 위해 아파치 설정 파일 httpd.conf 을 열어 UserDir 항목으로 이동한다.

2. UserDir 항목으로 이동하여 UserDir disable 로 되어 있는 부분을 주석처리한다.

3. UserDir public_html 부분의 주석을 해제해서 활성화시켜 준다.

<Directory/home/*/public_html> ~ </Directory> 태크로 되어 있는 것을 확인할 수 있는데 이 내용의 주석을 모두 해제하여 활성화시킨다.


<IfModule mod_userdir.c>
UserDir public_html
</IfModule>


Control access to UserDir directories. The following is an example
for a site where these directories are restricted to read-only.

<Directory /home/*/public_html>
AllowOverride FileInfo AuthConfig Limit
Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec
<Limit GET POST OPTIONS PROPFIND>
Order allow,deny
Allow from all
</Limit>
<LimitExcept GET POST OPTIONS PROPFIND>
Order deny,allow
Deny from all
</LimitExcept>
</Directory>

4. 아파치 웹 서버를 재시작 합니다.

[root@localhost root]# /usr/local/apache/bin/apachectl restart
/usr/local/apache/bin/apachectl restart: httpd restarted


5. 루트권한이 필요한것은 여기까지 입니다. 이제는 일반 계정으로 접속하여 홈디렉토리에

웹문서를 작성해봅니다.

유저를 생성하고 비밀번호를 부여합니다.

유저 아래에 public_html 디렉토리를 생성하고 권한설정 chmod 하고 index 화일을 만듭니다.


6. 작성하고 권한 설정을 했으니 외부 웹브라우저에서 접속합니다.

http://아이피주소/~hansung 접속이 안됩니다..

http://아이피주소/~hansung/ 접속이 됩니다.

http://아이피주소/~hansung/index.html 접속이 됩니다.

http://아이피주소/~hansung 뒤에 "/"를 붙여야 합니다..

 

출처 : http://holyqt.com/xe/hompi02/33870

?

공부 게시판

공부에 도움되는 글을 올려주세요.

  1. [공지] 공부 게시판 입니다.

    Date2003.08.18 By처누 Views2014843
    read more
  2. 손목터널증후군 치료, 현명한 선택 기준은?

    Date2026.10.05 Category웹서버,WAS By괴상한두루미52 Views1
    Read More
  3. 카­톡 gusim8003 급전/내구제 (24시문의) 선불폰 소액결제 일수 급전대출

    Date2026.10.05 Category웹서버,WAS By황금빛섬광82 Views2
    Read More
  4. 탄현동노래방 탄현동에서 찾는 노래방 010 2817 0845

    Date2026.10.03 Category웹서버,WAS By울리는고래상어65 Views16
    Read More
  5. 일반적인 Htaccess 301 리디렉션 규칙

    Date2026.04.01 Category웹서버,WAS ByYooN Views4187
    Read More
  6. [Windows] OWASP ZAP 사용법

    Date2025.09.29 Category웹서버,WAS ByYooN Views3889
    Read More
  7. [웹 취약점] 웹서버 디렉토리 리스팅 방지

    Date2025.09.29 Category웹서버,WAS ByYooN Views3498
    Read More
  8. [apache] HTTP/HTTPS 리다이렉트(Redirect/Rewrite) 하는 방법

    Date2025.09.11 Category웹서버,WAS ByYooN Views3539
    Read More
  9. http를 https로 리다이렉트하는 여러가지 방법

    Date2025.09.10 Category웹서버,WAS ByYooN Views3244
    Read More
  10. SSL인증서 없이 HTTPS에서 HTTP로 되돌리기

    Date2025.09.10 Category웹서버,WAS ByYooN Views3433
    Read More
  11. [SSL] win-acme, Let's encrypt로 무료 SSL 인증서 발급

    Date2025.09.10 Category웹서버,WAS ByYooN Views3829
    Read More
  12. [SSL] Windows 10에서 Let's Encrypt로 SSL 인증서 무료 발급받기

    Date2025.09.10 Category웹서버,WAS ByYooN Views3354
    Read More
  13. 무료로 https SSL/TLS 인증서를 발급받을 수 있는 인증 기관

    Date2025.09.10 Category웹서버,WAS ByYooN Views3442
    Read More
  14. 아파치 서버에 https SSL 인증서 적용하는 방법 (apache httpd)

    Date2025.09.10 Category웹서버,WAS ByYooN Views3165
    Read More
  15. 아파치2(Apache2) SSL HTTPS 적용하기

    Date2025.09.10 Category웹서버,WAS ByYooN Views3431
    Read More
  16. 아파치 웹서버에 멀티 도메인에 대한 80, 443 포트 설정하는 방법

    Date2025.09.10 Category웹서버,WAS ByYooN Views3329
    Read More
  17. 용량 산정 (동시 접속자 계산)

    Date2016.05.05 Category웹서버,WAS ByYooN Views5154
    Read More
  18. 아파치 httpd.conf 재시작 없이 설정 적용하기

    Date2016.05.02 Category웹서버,WAS ByYooN Views4897
    Read More
  19. Tomcat JVM heap memory set 및 size

    Date2016.03.23 Category웹서버,WAS ByYooN Views5404
    Read More
  20. Java 실행 옵션 정리

    Date2016.03.23 Category웹서버,WAS ByYooN Views4619
    Read More
  21. [JAVA] 개발환경설정 - 표준프레임워크

    Date2016.01.02 Category웹서버,WAS ByYooN Views5266
    Read More
Board Pagination Prev 1 2 3 Next
/ 3


즐겨찾기 (가족)

JAESOO's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너