Re: Inserting a line at a specific point

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




You'll have to use sed. See the previous mails sent to the list.
Doesn't ApacheToolbox work for you? http://www.apachetoolbox.com

--Adrian

At 08:04 AM 12/16/2005, MARG wrote:
Hi,

I want to insert these two lines in Apache's httpd.conf:
LoadModule python_module modules/mod_python.so
AddModule mod_python.c

just right after the line
LoadModule php5_module modules/libphp5.so

and not at the end of the file (with a simple echo "AddModule
mod_python.c" >> httpd.conf).

I've searched the web, tried my best, but couldn't make it.

Can you help me please ?

Warm Regards,
MARG
-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


-
: send the line "unsubscribe linux-admin" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Newbie]     [Audio]     [Hams]     [Kernel Newbies]     [Util Linux NG]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Device Drivers]     [Samba]     [Video 4 Linux]     [Git]     [Fedora Users]

  Powered by Linux