<div dir="ltr"><div class="gmail_quote">On Tue, Dec 8, 2009 at 9:26 PM, Adam Chlipala <span dir="ltr">&lt;<a href="mailto:adamc@hcoop.net">adamc@hcoop.net</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div class="im">Michael Shynar wrote:</div><div class="im">&gt; I am experiencing two problems:<br>
&gt; 1. I can&#39;t get <a href="http://growing-software.shmichael.com" target="_blank">growing-software.shmichael.com</a><br>
</div>&gt; &lt;<a href="http://growing-software.shmichael.com" target="_blank">http://growing-software.shmichael.com</a>&gt; to work.<br>
<br>
[serverAlias] won&#39;t add a DNS mapping, and no other part of your config<br>
is adding a DNS mapping for this host.  Try adding this line right<br>
before the [web] line:<br>
     dnsIP &quot;host&quot; web_ip;<br></blockquote><div><br>That was indeed the issue. I added this as an example to the wiki at <a href="http://wiki.hcoop.net/DomTool/Examples#SubdomainRedirection">http://wiki.hcoop.net/DomTool/Examples#SubdomainRedirection</a><br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
&gt; 2. <a href="http://www.shmichael.com" target="_blank">www.shmichael.com</a> &lt;<a href="http://www.shmichael.com" target="_blank">http://www.shmichael.com</a>&gt; gets rewritten as<br>
&gt; <a href="http://shmichael.com" target="_blank">shmichael.com</a> &lt;<a href="http://shmichael.com" target="_blank">http://shmichael.com</a>&gt; (I want an alias behaviour, not a<br>
&gt; rewrite).<br>
<br>
I ran &#39;domtool-admin describe <a href="http://shmichael.com" target="_blank">shmichael.com</a>&#39;, and I don&#39;t see anything<br>
there that would cause the rewrite.  I&#39;m not sure about the behavior of<br>
the Apache &#39;RewriteRule&#39; that appears, which doesn&#39;t mention a host<br>
explicitly, but it would be weird if it automatically rewrote to a<br>
location at a host besides the main name for this vhost.  My best guess<br>
is that WordPress itself is performing the rewrite.  I don&#39;t have<br>
experience with WordPress, so I don&#39;t have any further advice to offer.<br></blockquote><div> <br>I disabled the wordpress rewrite rules, but still experience the same phenomena.<br>Here&#39;s the Apache vhost configuration generated (no rewrite rules this time):<br>
--------------------------------------------------------------<br>Web vhost <a href="http://www.shmichael.com">www.shmichael.com</a>:                                  <br>--------------------------------------------------------------<br>
<br># Owner: shmichael<br>&lt;VirtualHost <a href="http://69.90.123.68:80">69.90.123.68:80</a>&gt;<br>        ErrorLog /var/log/apache2/user/s/sh/shmichael/apache/log/mire/<a href="http://www.shmichael.com/error.log">www.shmichael.com/error.log</a><br>
        CustomLog /var/log/apache2/user/s/sh/shmichael/apache/log/mire/<a href="http://www.shmichael.com/access.log">www.shmichael.com/access.log</a> combined<br>        ServerName <a href="http://www.shmichael.com">www.shmichael.com</a>                                                                        <br>
        SuexecUserGroup shmichael nogroup                                                                   <br>        suPHP_UserGroup shmichael nogroup                                                                   <br>
        WaklogEnabled on                                                                                    <br>        WaklogLocationPrincipal shmichael/<a href="mailto:daemon@HCOOP.NET">daemon@HCOOP.NET</a> /etc/keytabs/user.daemon/shmichael               <br>
        DAVLockDB /var/lock/apache2/dav/shmichael/DAVLock                                                   <br>        DocumentRoot /afs/<a href="http://hcoop.net/user/s/sh/shmichael/wordpress">hcoop.net/user/s/sh/shmichael/wordpress</a>                                           <br>
        ServerAdmin <a href="mailto:shmichael@hcoop.net">shmichael@hcoop.net</a>                                                                     <br>        ServerAlias <a href="http://shmichael.com">shmichael.com</a>                                                                           <br>
        ServerAlias <a href="http://growing-software.shmichael.com">growing-software.shmichael.com</a>                                                          <br>&lt;/VirtualHost&gt;    <br><br>I will leave the wordpress commented out for the next day or two, to allow any helpful admins to look into the issue.<br>
</div></div></div>