Re: [Tutor] Subdividing config file by matching line from a file

2016-10-19 Thread Toni Fuente via Tutor
* Peter Otten <__pete...@web.de> [2016-10-19 16:52:50 +0200]: > Date: Wed, 19 Oct 2016 16:52:50 +0200 > From: Peter Otten <__pete...@web.de> > To: tutor@python.org > Subject: Re: [Tutor] Subdividing config file by matching line from a file > Organization: None > User

Re: [Tutor] Subdividing config file by matching line from a file

2016-10-19 Thread Peter Otten
Toni Fuente via Tutor wrote: > Hello everybody, > > I am trying to divide a configuration file (configs) in the form of: > > > ServerAdmin webmas...@foo.com > ServerName www.foo.com > DocumentRoot /home/public/web/htdocs/foo.com >ScriptAlias /cgi-bin/ /home/public/web/htdocs/foo.com/cgi-bin

[Tutor] Subdividing config file by matching line from a file

2016-10-19 Thread Toni Fuente via Tutor
Hello everybody, I am trying to divide a configuration file (configs) in the form of: ServerAdmin webmas...@foo.com ServerName www.foo.com DocumentRoot /home/public/web/htdocs/foo.com ScriptAlias /cgi-bin/ /home/public/web/htdocs/foo.com/cgi-bin/ [...] ServerAdmin webmas...@bar.com Server