user_dir 경로수정방법
작성자 정보
- 참치죽 작성
- 작성일
컨텐츠 정보
- 1,744 조회
- 0 추천
-
목록
본문
1.web folder 유져 폴더 설정부분에서 경로를 최상위폴더로 한다(/home/id/public_html -> /home/id)
2.http://aaa.com/~id --> http://aaa.com/id 로 url가능하도록한다.
<IfModule mod_userdir.c>
UserDir <-- 이부분을 public_html이나 기타의경로가 아닌 그냥 절대경로 /home/hosting/id/ 이렇게..
</IfModule>
#
# Control access to UserDir directories. The following is an example
# for a site where these directories are restricted to read-only.
#
<Directory /home/hosting/*/>
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>
~
ScriptAlias /cn/ "/home/hosting/cn/"
~
방법을 아시는분 부탁드립니다.
관련자료
-
이전
-
다음