[CentOS] script question
Jerry Geis
geisj at pagestation.comThu Mar 31 12:25:37 UTC 2011
- Previous message: [CentOS] Controlling the order of /dev/sdX devices?
- Next message: [CentOS] script question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
I can do "simply" search and replace with sed. However, I want to setup httpd.conf from a script that changes the default "/" which is presently: <Directory /> Options FollowSymLinks AllowOverride None </Directory> and change it to the following: <Directory /> Order Deny,Allow Deny from all AllowOverride None </Directory> How do you do that with scripts? Basically substitute everything between the two Directory tags. Thanks, Jerry
- Previous message: [CentOS] Controlling the order of /dev/sdX devices?
- Next message: [CentOS] script question
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the CentOS mailing list