[GRLUG] two quick vi qq

Jeff Bosch jeff at ajprogramming.com
Wed May 1 10:47:21 EDT 2013


I believe you have one too many "escaped" slashes. Try:
 /\/var\/www\/virtual

> 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.)




More information about the grlug mailing list