Apache

Last Updated: Graph.K

Language


AddCharset ISO-8859-1  .iso8859-1  .latin1
AddCharset ISO-8859-2  .iso8859-2  .latin2 .cen
AddCharset ISO-8859-3  .iso8859-3  .latin3
AddCharset ISO-8859-4  .iso8859-4  .latin4
AddCharset ISO-8859-5  .iso8859-5  .latin5 .cyr .iso-ru
AddCharset ISO-8859-6  .iso8859-6  .latin6 .arb
AddCharset ISO-8859-7  .iso8859-7  .latin7 .grk
AddCharset ISO-8859-8  .iso8859-8  .latin8 .heb
AddCharset ISO-8859-9  .iso8859-9  .latin9 .trk
AddCharset ISO-2022-JP .iso2022-jp .jis
AddCharset ISO-2022-KR .iso2022-kr .kis
AddCharset ISO-2022-CN .iso2022-cn .cis
AddCharset Big5        .Big5       .big5

ddCharset GB2312      .gb2312 .gb
AddCharset utf-7       .utf7
AddCharset utf-8       .utf8
AddCharset big5        .big5 .b5
AddCharset EUC-TW      .euc-tw
AddCharset EUC-JP      .euc-jp
AddCharset EUC-KR      .euc-kr
AddCharset shift_jis   .sjis

Text base basic auther

  1. add new account

  2. [/usr/root]# htpasswd /password file's directory/.htpasswd guest
    New password:********
    Re-type new password:********
    Adding password for user guest

  3. GROUP file

  4. admin:kato sato saito
    operator:kaneko tobashi
    user:takama nakaya iwakura hasebe imura
    guest:guest

  5. access file(httpd.conf pert4)

  6. <Directory "/apach document root/directory/">
    AuthUserFile /password file's directory/.htpasswd
    AuthGroupFile /dev/null
    AuthName "Please Enter Your Password"
    AuthType Basic
    Require valid-user
    </Directory>

DB base Basic Auther

  1. access file

  2. <Directory "/apach document root/directory/">
    Auth_PG_host DB server address or host name
    Auth_PG_port DBMS port number
    Auth_PG_database DB name
    Auth_PG_user db user
    Auth_PG_pwd password
    Auth_PG_pwd_table table name
    Auth_PG_uid_field user name field
    Auth_PG_pwd_field passwd field
    AuthName "Please Enter Your Password"
    Authtype Basic
    <Limit POST GET>
    require valid-user
    </Limit>
    <Directory>