httpd.conf
-
[Web]Apache에서 사용자 인증 설정(.htaccess) for Windowscase Computer : 2010. 1. 5. 17:50
1. httpd.conf파일내의 인증옵션설정 설치된 아파치의 conf디렉토리에 보면 httpd.conf파일이 있을 것이다. 이 파일내에 아래옵션을 설정해야한다. AllowOverride AuthConfig AccessFileName .htaccess 2. 인증하고자 하는 웹디렉토리에서 .htaccess파일 만들기 이제 인증하고자하는 디렉토리에 .htaccess 파일을 다음의 예와 같이 만든다. AuthName "Welcome to Gold Fish Blog" AuthType Basic AuthUserFile "C:/Program Files/Apache/htdocs/.htpasswd" AuthGroupFile /dev/null require valid-user 3. 윈도우즈용은 htpasswd.exe이므로..
-
httpd.conf 내용case Computer : 2009. 3. 31. 20:01
httpd.conf 파일은 크게 세부분으로 나누어져 있다. Section 1: Global Environment : 아파치 전체적인 영향이 미치는 설정 Section 2: 'Main' server configuration : 주 서버에 대한 설정 Section 3: Virtual Hosts : 가상 호스트에 대한 설정 자, 그럼 이제부터 이 아파치웹서버의 모든 환경을 설정하는 아파치환경파일 httpd.conf파일의 설정방법에 대해서 상세히 알아보도록 하자. ### Section 1: Global Environment 전제환경설정 파트로 Section 1에서 설정하는 것들은 아파치 웹서버에 전반적인 영향을 미친다. ServerType standalone 서버의 구동방법으로는 standalone과 inetd..