-rw-r--r-- 1 root root 2845 Dec 21 19:31 httpd-autoindex.conf
-rw-r--r-- 1 root root 1673 Dec 21 19:31 httpd-dav.conf
-rw-r--r-- 1 root root 2344 Dec 21 19:31 httpd-default.conf
-rw-r--r-- 1 root root 1103 Dec 21 19:31 httpd-info.conf
-rw-r--r-- 1 root root 5040 Dec 21 19:31 httpd-languages.conf
-rw-r--r-- 1 root root 810 Dec 21 19:31 httpd-manual.conf
-rw-r--r-- 1 root root 3782 Dec 21 19:31 httpd-mpm.conf
-rw-r--r-- 1 root root 2201 Dec 21 19:31 httpd-multilang-errordoc.conf
-rw-r--r-- 1 root root 10338 Dec 21 19:31 httpd-ssl.conf
-rw-r--r-- 1 root root 815 Dec 21 19:31 httpd-userdir.conf
-rw-r--r-- 1 root root 1453 Dec 21 19:31 httpd-vhosts.conf
|
아래와 같이 주석 처리된 것을 필요에 따라 풀면 된다. # Server-pool management (MPM specific) # Multi-language error messages # Fancy directory listings # Language settings # User home directories # Real-time info on requests and configuration # Virtual hosts # Local access to the Apache HTTP Server Manual # Distributed authoring and versioning (WebDAV) # Various default settings # Secure (SSL/TLS) connections |
Configuration
| ServerRoot | "/usr/local/apache" |
| ServerAdmin | youremailaddr |
| ServerName | yourdomain:80 but 여러 도메인을 관리하는 서버면 의미없다. Virtual Host 셋팅으로 처리한다. |
| DocumentRoot | "/usr/local/apache/htdocs" but 여러 도메인을 관리하는 서버면 의미없다. Virtual Host 셋팅으로 처리한다. |
| 기본 접근 설정 |
<Directory /> |
| DirectoryIndex |
<IfModule dir_module> |
| CustomLog |
CustomLog logs/access_log common |
| ScriptAlias |
<IfModule alias_module> <Directory "/usr/local/apache-2.2.0/cgi-bin"> |
| PHP 설치 후 |
DSO Support 부분에 다음 추가 다음과 같이 AddType 추가 |
| MPM | #Include conf/extra/httpd-mpm.conf 주석 해제 활성화, 자세한 사항은 잘 모름 |
| Multi-Language Error Code |
#Include conf/extra/httpd-multilang-errordoc.conf |
| Language |
#Include conf/extra/httpd-languages.conf |
| User Home Dir |
# User home directories public_html 디렉토리 퍼미션을 711로 설정 |
| Server Info |
#Include conf/extra/httpd-info.conf conf/extra/httpd-info.conf 에서 |
| Virtual Host |
#Include conf/extra/httpd-vhosts.conf conf/extra/httpd-vhosts.conf |
| CentOS 5.3에서 Java와 Tomcat 설치 - Tomcat을 서비스로 관리하기.. (0) | 2010.01.13 |
|---|---|
| booting 시 프로그램 자동 실행행하도록 설정 (0) | 2010.01.12 |
| apache-2.2.0 에서 사용자별 public_html 인식되도록~ (0) | 2010.01.11 |
| telnet-server 설정 (0) | 2010.01.11 |
| 사용자별 용량 제한 (0) | 2010.01.11 |