일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 | 31 |
Tags
- 애플
- screen
- 윈도구
- 퇴사
- VISTA
- cagr48com
- iPhone
- 윈도구7
- Mobile
- windows7
- ObjectiveC
- 7932
- windows
- Objective-C
- 맥
- Number
- c#
- 오브젝티브C
- java
- WSDL
- 설치
- WebService
- 윈도우즈7
- 형식
- 링크
- 아이맥
- mac
- 아이폰
- install
- 볼링
Archives
- Today
- Total
A colossal Dreamer: GR鐵塔-天生我材
[막:OSX] enable WebSharing on Mountian Lion/ 마운틴라이언에서 OSX에 포함된 apache2 올리기. 본문
Development/막-윈도그
[막:OSX] enable WebSharing on Mountian Lion/ 마운틴라이언에서 OSX에 포함된 apache2 올리기.
江多林 2013. 7. 1. 15:451 사용자이름 확인하기
whoami
--> irontop
2 /etc/apache2/users/irontop.conf 파일 생성
sudo vi /etc/apache2/users/irontop.conf
3 /etc/apache2/users/irontop.conf 에 포함할 내용
- 주의 아래 Directory 에서 irontop 부분은 위에서 확인해둔 whoami(사용자명)으로 바꾸야!!
<Directory "/Users/irontop/Sites/">
Options Indexes MultiViews
AllowOverride All
Order allow,deny
Allow from all
</Directory>
4 아파치 기동
sudo apachectl start
5 시작할 때 함께 기동하도록 설정하기
sudo defaults write /System/Library/LaunchDaemons/org.apache.httpd Disabled -bool false
* 문제해결
- 방화벽이 설정된 경우 방화벽 경고창이 뜰 수 있음.
- 새로 생성한 파일 권한문제로 실행되지 않을 경우는 아래 command 를 참조.
sudo chown root:wheel /etc/apache2/users/*
sudo chmod 644 /etc/apache2/users/*
sudo apachectl restart
참조:
http://reviews.cnet.com/8301-13727_7-57481978-263/how-to-enable-web-sharing-in-os-x-mountain-lion/
참조링크 겁나 느리지만, 기다리면 뜹니다. :)
'Development > 막-윈도그' 카테고리의 다른 글
OSX 에서 그냥 빼서 망가진 ex-FAT USB 외장하드 복구하기 (0) | 2019.01.18 |
---|---|
맥톡(카카오톡 macOS Version) 의 괴로운 UX (0) | 2018.10.15 |
[단말리뷰] Sony Xperia Arc (0) | 2011.10.12 |
막힌토끼(Machintosh) 를 처음 만났을 때..~~ (1) | 2011.09.20 |
[막:apache] 막에 apache를 설치해보자.. (0) | 2010.09.28 |