Results 1 to 2 of 2
Hi,
lets say below is file content
Order deny,allow
Deny from all
AuthName "htaccess password prompt"
AuthUserFile /home/askapache.com/.htpasswd
AuthType Basic
Require valid-user
Allow from 172.17.10.1
Satisfy Any
i want add ...
- 01-15-2010 #1Just Joined!
- Join Date
- Feb 2007
- Posts
- 5
how to add line next to searched syntax
Hi,
lets say below is file content
Order deny,allow
Deny from all
AuthName "htaccess password prompt"
AuthUserFile /home/askapache.com/.htpasswd
AuthType Basic
Require valid-user
Allow from 172.17.10.1
Satisfy Any
i want add new line lets say "Allow from 192.168.0.1" after allow from line by using bash script.
Thank's in advance
- 01-15-2010 #2Just Joined!
- Join Date
- Feb 2007
- Posts
- 5


Reply With Quote
