Posted by : admin at 11 월 8th, 2008 
  서버 시작 다시 시작할 때 Apache를 자동으로 시작하는 설정입니다. 
  이전 설정한 서버에서는 아래와 같이했습니다. 
 # cd /usr/local/etc/rc.d
# cp /usr/local/apache2/bin/apachectl /usr/local/etc/rc.d/apache.sh
# chmod 0755 /usr/local/etc/rc.d/apache.sh 
   하지만 apachectl start 시작하기 때문에 최근에는 다음과 같이합니다. 
 /etc/rc.local 
 # Start Apache
/usr/local/apache2/bin/apachectl start 
   apachectl 버전 및 설치 방법을 통해 경로가 다르기 때문에 발견없는 경우에는 다음과 같은 방법으로 검사합니다.   Posted by : admin at 11 월 5th, 2008 
  최근 버전의 Apache 기본적으로 AddDefaultCharset 지시자 "ISO - 8859 - 1 (라틴어 유럽 중국어, 프랑스어, 독일어)"이 지정되어있습니다. 
  Apache2.2 이후에는 AddDefaultCharset 지시어의 기본 설정은되지 않습니다. 
  httpd.conf 수정합니다.   httpd.conf 다음 위치에있습니다.   또는 
 httpd.conf 
 AddDefaultCharset  off 
   그러나이 경우는 모든 페이지에 다음과 같은 charset 지정해야합니다. 
 <META http-equiv=Content-Type content="text/html; charset=Shift_JIS"> 
   모든 내용이 같은 문자 코드 charset 경우에는 다음과 같이 지정합니다. 
 httpd.conf 
 AddDefaultCharset  EUC-JP 
   수정이 끝나는 경우 Apache를 다시 시작합니다. 
 # /usr/local/apache2/bin/apachectl restart 
   apachectl 버전 및 설치 방법을 통해 경로가 다르기 때문에 발견없는 경우에는 다음과 같은 방법으로 검사합니다.   Posted by : admin at 11 월 5th, 2008 
  브라우저의 주소 표시줄에 디렉토리 이름까지 입력하면 index.html / index.php / index.cgi 등이 없으면 파일 목록을 볼 수있을 것이다을 막는 방법. 
  Google 등에서 index of 검색을하면, 어떤 종류의 것인지 고객 발견하게 될 것입니다. 
  httpd.conf 수정합니다.   httpd.conf 다음 위치에있습니다.   또는 
 httpd.conf 
 Options  Indexes  FollowSymLinks 
   ↓ Indexes 삭제   수정이 끝나는 경우 Apache 다시 시작합니다. 
 # /usr/local/apache2/bin/apachectl restart 
   apachectl 버전 및 설치 방법을 통해 경로가 다르기 때문에 발견없는 경우에는 다음과 같은 방법으로 검사합니다.   Posted by : admin at 11 월 5th, 2008 
  httpd.conf 수정합니다.   httpd.conf 다음 위치에있습니다.   또는   글머리의 코멘토아우토 (#)를 제거  httpd.conf 
 AddHandler cgi-script .cgi 
   Options 지시어 변경  httpd.conf 
 <Directory />
     Options ExecCGI FollowSymLinks Includes MultiViews 
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory> 
   Posted by : admin at 11 월 5th, 2008 
  httpd.conf 수정합니다.   httpd.conf 다음 위치에있습니다.   또는 
 httpd.conf 
 Alias / USERNAME / "/home/ USERNAME /public_html/"
<Directory "/home/ USERNAME /public_html">
    Options Indexes MultiViews
    AllowOverride None
    Order allow,deny
    Allow from all
</Directory> 
   Directory 지시어 안은 예입니다.  필요에 따라 수정합니다.