아... 아파치 인증 열받네요.

zeshai의 이미지

어제도 글을 올렸었는데, 도저히 동작시키질 못하겠네요.

레드햇 9에서 httpd 2.0.40을 사용하고 있습니다.

httpd.conf 에서 .htaccess 파일 설정 부분에 주석을 뗏구요.

AllowOverride AuthConfig 도 해줬구요.

.htaccess 내용이구요.

Quote:

AuthName "Test Page"
AuthType Basic
AuthUserFile /var/www/html/passwd/.htpasswd
require valid-user

돌리면 인증창은 커녕 그냥 페이지 못찾는다고 나옵니다.

물론 .htpasswd 파일도 퍼미션은 아파치가 건드릴수 있게 해뒀습니다.

또 mod_access.so 도 설정되어있구요.

관계있는지 모르겠지만 request 했을때 마다
error_log 에 다음과 같이 에러가 child가 죽어버립니다.

Quote:

[notice] child pid 10397 exit signal Segmentation fault (11)
[notice] child pid 10398 exit signal Segmentation fault (11)
[notice] child pid 10411 exit signal Segmentation fault (11)
[notice] child pid 10418 exit signal Segmentation fault (11)
[notice] child pid 10419 exit signal Segmentation fault (11)
[notice] child pid 10455 exit signal Segmentation fault (11)