1.주석풀기(httpd.conf)
Include conf/extra/httpd-vhosts.conf
LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_ajp_module modules/mod_proxy_ajp.so
2.설정(httpd-vhosts.conf)
<VirtualHost *:80>
ServerAdmin yes@isforu.com
DocumentRoot "D:/docs/blog.1318class.com"
ServerName blog.1318class.com
# ServerAlias www.dummy-host.blog.1318class.com
ErrorLog "logs/blog.1318class.com-error.log"
CustomLog "logs/blog.1318class.com-access.log" common
ProxyPass /file !
ProxyPass /media !
ProxyPass / ajp://127.0.0.1:8009/
</VirtualHost>
<Directory "D:/docs/blog.1318class.com">
Options FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
'linux setup' 카테고리의 다른 글
Apache 2.2.4 + Windows XP sp2 설치 - 짧게 (0) | 2009.01.01 |
---|---|
Tomcat 6.0.13 + Apache 2.2.4 + MySQL 5.0.45+ WindowsXP (0) | 2009.01.01 |
java install (0) | 2008.12.11 |
Apache install (0) | 2008.12.10 |
gcc 설치 (0) | 2008.06.04 |