<div dir="ltr">Eric, I'll answer the first question because it's vi-related and let someone with more Apache knowhow answer the second question.<div><br></div><div style>In vi, as you know, the slash (/) character searches down the file.  If you want to search for a slash character then you need to "escape" it with a backslash.  So, if you tried this key sequence, it would work:</div>

<div style>  /\/\/var\/www\/virtual</div><div style>(Note the backslash characters before each forward slash character, except the first one, which initiates the search.)</div><div style><br></div><div style>HTH,</div><div style>

Brad.</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Wed, May 1, 2013 at 10:16 AM, Eric Beversluis <span dir="ltr"><<a href="mailto:ebever@researchintegration.org" target="_blank">ebever@researchintegration.org</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">1.  how would I search for /var/www/virtual in vi? I tried putting<br>
quotes around it and also just<br>
 //var/www/virtual<br>
<br>
But neither seems to work.<br>
<br>
2. To add AllowOverride for sites at /var/www/virtual, is this correct?<br>
<br>
<Directory "/var/www/virtual"><br>
   AllowOverride All<br>
</Directory><br>
<br>
And would I just enter it following the same entry for /var/www/html?<br>
<br>
Thanks.<br>
<br>
_______________________________________________<br>
grlug mailing list<br>
<a href="mailto:grlug@grlug.org">grlug@grlug.org</a><br>
<a href="http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug" target="_blank">http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug</a><br>
</blockquote></div><br></div>