<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
<title></title>
</head>
<body bgcolor="#ffffff" text="#000000">
Hi, I am trying to redirect traffic from the root address at my default
server (of two name-based virtual hosts) to <i class="moz-txt-slash"><span
class="moz-txt-tag">/</span>blog<span class="moz-txt-tag">/</span></i>.
I.e. I would like traffic for <a class="moz-txt-link-abbreviated"
href="http://www.depaulacs.org/">www.depaulacs.org/</a> to go
automatically to <a class="moz-txt-link-abbreviated"
href="http://www.depaulacs.org/blog/">www.depaulacs.org/blog/</a>.
But I don't want to affect anything to do with the second virtual
host. Here is what I have tried. Can someone point out where I've
gone wrong? I am running Fedora Core 5, Apache 2.2.2. Thanks!
<br>
<br>
<VirtualHost *:80>
<br>
ServerName <a class="moz-txt-link-abbreviated"
href="http://www.depaulacs.org">www.depaulacs.org</a>
<br>
ServerAlias depaulacs.org
<br>
ServerAdmin <a class="moz-txt-link-abbreviated"
href="mailto:phorst@speakeasy.net">phorst@speakeasy.net</a>
<br>
DocumentRoot /var/www/html
<br>
ErrorLog logs/error_log
<br>
CustomLog logs/access_log common
<br>
RewriteEngine on
<br>
RewriteRule ^/$ <i class="moz-txt-slash"><span class="moz-txt-tag">/</span>blog<span
class="moz-txt-tag">/</span></i> [R]
<br>
</VirtualHost>
<br>
<br>
<VirtualHost *:80>
<br>
ServerName <a class="moz-txt-link-abbreviated"
href="http://www.sklar-blake.com">www.sklar-blake.com</a>
<br>
ServerAlias sklar-blake.com
<br>
ServerAdmin <a class="moz-txt-link-abbreviated"
href="mailto:phorst@speakeasy.net">phorst@speakeasy.net</a>
<br>
DocumentRoot /var/www/html/tom
<br>
ErrorLog logs/www.sklar-blake.com-error_log
<br>
CustomLog logs/www.sklar-blake.com-access_log common
<br>
</VirtualHost>
<br>
<br>
</body>
</html>