>> Edit article
이름
제목
패스워드
---wowlinux7.0까치 ---apache 1.3.14 웹호스팅용 서버를 셋팅하여 테스트중인데... 가상호스트를 죽이고... 메인 서버의 /var/www/html 에서는 서브디렉토리를 생성하더라도... 퍼미션에러없이 모두 링크가 잘됩니다~! 그런데 가상호스트를 설정하고나면... 모두 한결같이 /public_html 의 서브디렉에서 퍼미션 에러가 납니다. aaa.com 이라는 도메인을... /home/aaa/public_html/ 에 셋팅을 했을떼... 이것의 index.html 페이지는 잘뜹니다... 그런데.. 문제는... test.html 문서를 /home/aaa/public_html/doc 에 두고서... index.html 페이지에서 하이퍼링크를 걸면...? Forbidden You don't have permission to access /doc/test.html on this server. ----------------------------------------------------------------------- Apache/1.3.14 Server at www.ire-design.com Port 80 라고 뜹니다. public_html 안에서는 모두가 정상적으로 작동이 됩니다... 하지만... 그 이하의 서브디렉만 생성하면... 그쪽에선 계속해서 퍼미션에러가 나네요... 그래서 퍼미션에러인가해서... 각 계정의 최상위디렉부터 이하모두 퍼미션을 777 과 755 모두 줘봐도 않됩니다. 이부분은 apache의 conf파일인데... 혹시 아래의 설정 부분이 문제인가요...? # # UserDir: The name of the directory which is appended onto a user's home # directory if a ~user request is received. # UserDir public_html # # Control access to UserDir directories. The following is an example # for a site where these directories are restricted to read-only. # <Directory /home/ppsda/public_html> AllowOverride FileInfo AuthConfig Limit Options MultiViews Indexes SymLinksIfOwnerMatch Includes ExecCGI <Limit GET POST OPTIONS PROPFIND> Order allow,deny Allow from all </Limit> <Limit PUT DELETE PATCH PROPPATCH MKCOL COPY MOVE LOCK UNLOCK> Order deny,allow Deny from all </Limit> </Directory>
Copyleft
1999-2026 by
JSBoard Open Project
Theme Designed by
IDOO
All right reserved