sun's longitude:300 50 59.27 
· 자유게시판 · 묻고답하기 · 알파문서 · RPMS list
· 사용자문서 · 팁/FAQ모음 · 리눅스Links · 자료실
· 서버정보 · 운영자 · Books/FAQ · FreeBSD
/board/read.php:소스보기  

질문과 답변 게시판입니다.

현재 실시간으로 이곳 서버의 설정파일(몇개)를 보여주고 있습니다.
서버의 설정내용에 관한 질문은 먼저 이곳 서버의 설정내용을 참고하시길 바랍니다.

[*** 쓰기 금지단어 패턴 ***]
글 본문 중간에 업로드할 이미지를 추가하는 방법 : @@이미지이름@@
ex) @@foo.gif@@
18 번 글: .htaccess.htpasswd을 이용한 사용자 인증
글쓴이: 김진주 글쓴날: 2000년 03월 16일 18:15:42 목(저녁) 조회: 2823
안녕하세요, 산이님..  .htaccess을 이용한 사용자 인증은 아파치
웹 서버의 자체적인 기능인데 당근히 아파치 실행 파일에
있죠.. 제가 왜 그 생각을 몬했죠? 
암튼 htpasswd를 실행시켜 .htpasswd파일을 생성하는데에는
 아무런 문제가 없었습니다.. 

근데 브라우저 상에서 이러한 에러가 나네요.. 
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to
complete your request.
Please contact the server administrator and inform them of the time the error
occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.

나름대로 자료를 찾아보니깐 .htaccess파일이 있으면
httpd.conf파일보다
 우선권을 가진다구 하데요.. 그리구 .htaccess파일을 읽으려면
Override를 None으로 두면 안된다구 해서.. all로도 주고,
AuthConfig로도 줘보고 그랬는데 해결이 안되네요.. 

----------------------httpd.conf내용
 ------------------------------

#
# Each directory to which Apache has access, can be configured with respect
# to which services and features are allowed and/or disabled in that
# directory (and its subdirectories). 
#
# First, we configure the "default" to be a very restrictive set of 
# permissions.  
#
<Directory />
    Options ExecCGI Includes FollowSymLinks
    AllowOverride AuthConfig 
</Directory>

#
# This controls which options the .htaccess files in directories can
# override. Can also be "All", or any combination of "Options",
"FileInfo", 
# "AuthConfig", and "Limit"
#
    AllowOverride AuthConfig 

#                                                                               
# Control access to UserDir directories.  The following is an example           
# for a site where these directories are restricted to read-only.               
#                                                                  <----
이부분은 제가 out시켰거덩여..
 ->             
<Directory /home/*/public_html>                                                 
    AllowOverride All                                                           
    Options MultiViews Indexes SymLinksIfOwnerMatch IncludesNoExec              
    <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>    

#                                                                               
# "/usr/local/apache/cgi-bin" should be changed to whatever your
ScriptAliased  
# CGI directory exists, if you have that configured.                            
#                                                                               
<Directory "/usr/local/apache/cgi-bin">                                
        
    AllowOverride AuthConfig                                                    
    Options None                                                                
    Order allow,deny                                                            
    Allow from all                                                              
</Directory>     


음.. 이상입니다.. 밥먹고 다시 고민해야겠네요...


 
이전글 : Re: nslookup 이 조금 이상해요...
다음글 : 되네여..  
 from 210.124.182.100
JS(Redhands)Board 0.4 +@

Re: nslookup 이 조금 이상해요... 되네여..
인쇄용 


apache lighttpd linuxchannel.net 
Copyright 1997-2026. linuxchannel.net. All rights reserved.

Page loading: 0.02(server) + (network) + (browser) seconds