Webの制作の最近のブログ記事

C:\Program Files\Apache Software Foundation\Apache2.2\conf の httpd.conf を編集(初回のみ)

# Virtual hosts
#Include conf/extra/httpd-vhosts.conf

# Virtual hosts
Include conf/extra/httpd-vhosts.conf
 

C:\Program Files\Apache Software Foundation\Apache2.2\conf\extra の httpd-vhosts.conf を編集

<VirtualHost *:80>
    ServerAdmin info@kazy.jp
    DocumentRoot "C:/Documents and Settings/kajii/My Documents/web/kazy"
    ServerName kazy.w-07-012
    ServerAlias www.kazy.w-07-012
    ErrorLog "logs/kazy.localhost-error.log"
    CustomLog "logs/kazy.localhost-access.log" common
</VirtualHost>

<Directory "C:/Documents and Settings/kajii/My Documents/web/kazy"> 
    order deny,allow
    allow from ALL
    AllowOverride All
</Directory> 
 

C:\WINDOWS\system32\drivers\etc の hosts を編集

127.0.0.1       localhost
127.0.0.1       kazy.w-07-012

Virtual PCを使った方法