[GRLUG] two quick vi qq
Bill Pribble
Bill.Pribble at Haworth.com
Wed May 1 10:25:32 EDT 2013
Try this
sed '/\/Directory/ i\AllowOverride All' file_name
-----Original Message-----
From: grlug-bounces at grlug.org [mailto:grlug-bounces at grlug.org] On Behalf Of Eric Beversluis
Sent: Wednesday, May 01, 2013 10:16 AM
To: grlug at grlug.org
Subject: [GRLUG] two quick vi qq
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
More information about the grlug
mailing list