[GRLUG] two quick vi qq
Eric Beversluis
ebever at researchintegration.org
Wed May 1 10:58:48 EDT 2013
Thanks. I should have remembered escaping. Just haven't used it in this
context before.
On Wed, 2013-05-01 at 10:43 -0400, Brad DeVries wrote:
> Eric, I'll answer the first question because it's vi-related and let
> someone with more Apache knowhow answer the second question.
>
>
> 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:
> /\/\/var\/www\/virtual
> (Note the backslash characters before each forward slash character,
> except the first one, which initiates the search.)
>
>
> HTH,
> Brad.
>
>
> On Wed, May 1, 2013 at 10:16 AM, Eric Beversluis
> <ebever at researchintegration.org> wrote:
> 1. how would I search for /var/www/virtual in vi? I tried
> putting
> quotes around it and also just
> //var/www/virtual
>
> But neither seems to work.
>
> 2. To add AllowOverride for sites at /var/www/virtual, is this
> correct?
>
> <Directory "/var/www/virtual">
> AllowOverride All
> </Directory>
>
> And would I just enter it following the same entry
> for /var/www/html?
>
> Thanks.
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
>
>
> _______________________________________________
> grlug mailing list
> grlug at grlug.org
> http://shinobu.grlug.org/cgi-bin/mailman/listinfo/grlug
More information about the grlug
mailing list