77;20202;0ccatbody - よくきたWiki

Loading ...



apache

vsftpd

apachehttpd-2.0.46-25.ent.i386.rpm
vsftpdvsftpd-1.2.0-4.i386.rpm
# /sbin/service httpd start
# /sbin/service vsftpd start

http://www.example.com/
ftp://www.example.com/
default_toppage.gif

http://www.example.co.jp/

/usr/sbin/useradd webmaster

mkdir -p /home/webmaster/toppage/

*1

[root@rhell30es root]# stat /home/webmaster/
  File: `/home/webmaster/'
  Size: 4096            Blocks: 8          IO Block: 4096   Directory
Device: 802h/2050d      Inode: 32449       Links: 3    
Access: (0700/drwx------)  Uid: (  500/webmaster)   Gid: (  500/webmaster)
Access: 2004-04-24 21:42:32.000000000 +0900
Modify: 2004-04-24 21:42:32.000000000 +0900
Change: 2004-04-24 21:42:32.000000000 +0900

d
rwxowner*2
---group
---other

chmod o+x /home/webmaster

chmod o+x /home/webmaster

/etc/httpd/conf/
/etc/httpd/conf/httpd.conf
/etc/httpd/conf/magic
/etc/httpd/conf/Makefile
/etc/httpd/conf/ssl.*
/etc/httpd/conf.d/
/etc/httpd/logs/
/etc/httpd/modules/
/etc/httpd/run/
ServerAdmin
webmaster@www.example.co.jp *3
ServerAdmin webmaster@www.example.co.jp
ServerName
ServerName www.example.co.jp
DocumentRoot
DocumentRoot "/home/webmaster/toppage"

<Directory "/home/webmaster/toppage">
  • <IfModule mod_userdir.c>
        #
        # UserDir is disabled by default since it can confirm the presence
        # of a username on the system (depending on home directory
        # permissions).
        #
        #UserDir disable
    
        #
        # To enable requests to /~user/ to serve the user's public_html
        # directory, remove the "UserDir disable" line above, and uncomment
        # the following line instead:
        #
        UserDir public_html
    
    </IfModule>

Writing/nikkei_net_server/04_WEB-01/AddDefaultCharset

/etc/vsftpd/
/etc/vsftpd/vsftpd.conf
/etc/vsftpd.ftpusers
/etc/vsftpd.user_list
ascii_upload_enable
ascii_download_enable

Writing/nikkei_net_server/04_WEB-01/ASCII-MODE

# /sbin/service httpd restart
# /sbin/service vsftpd restart

http://www.example.com/
ftp://webmaster@www.example.com/

http://www.example.com/~webmaster/

http_auth_chart.gif

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
 <meta http-equiv="Content-Type" content="text/html; charset=EUC-JP">
 <title>Congratulation!</title>
</head>
<body>
 You access allowed.
</body>
</html>
http://www.example.c.jp/auth/

#ref(): The style ref(filename,pagename) is ambiguous and become obsolete. Please try ref(pagename/filname)

All*4
None
AuthConfig
FileInfo
Indexes
Limit
Options
<Directory "/home/webmaster/toppage/auth">
  AllowOverride AuthConfig
</Directory>

AuthUserFile /home/webmaster/toppage/auth/.htpasswd
AuthGroupFile /dev/null
AuthName "Please enter username and password"
AuthType Basic
AuthUserFile
AuthGroupFile
AuthName
AuthType

http://www.example.c.jp/auth/

test:UIuC3POQX5va2
nikkei:Do94dYm2p1hhk

-c
-b
-m
-d
-p
-D

/usr/bin/htpasswd -c /home/webmaster/toppage/auth/.htpasswd nikkei
/usr/bin/htpasswd -c /home/webmaster/toppage/auth/.htpasswd linux

nikkei:D2272zmiY6Pgc
linux:8V7I0YjKcdvk2

webalizerwebalizer-2.01_10-15.ent.i386.rpm

OutputDir /home/webmaster/toppage/webalizer

webalizer -c /etc/webalizer.conf

http://www.example.co.jp/webalizer/

#ref(): The style ref(filename,pagename) is ambiguous and become obsolete. Please try ref(pagename/filname)

<Directory "/home/webmaster/toppage/webalizer">
  AllowOverride AuthConfig
  AuthUserFile /home/webmaster/toppage/webalizer/.htpasswd
  AuthGroupFile /dev/null
  AuthName "Please enter username and password"
  AuthType Basic
</Directory>

Writing/nikkei_net_server



*1
*2
*3 webmaster@example.co.jp
*4

添付ファイル: filewebalizer.gif 486件 [詳細] fileindex-html.gif 484件 [詳細] filehttp_auth_chart.gif 659件 [詳細] filedefault_toppage.gif 755件 [詳細]
リロード   新規 編集 凍結 差分 添付 複製 改名   トップ 一覧 検索 最終更新 バックアップ   ヘルプ   最終更新のRSS
最終修正日時: Mon, 09 May 2005 15:43:44 JST (5278d)
文字数(HTML): 3650
文字数(Wiki): 12506
人気ブログランキング - よくきた wiki