string help ..

O

Omegis

Hello,
I'm a sustem admin on a linux box,
long time ago we got a new system panel to manage the apache
configuration files,
from a nice guy that biuld it for us,
as time go by the "nice" guy gone and i need to update something very
small in the script ...

today i have a check for php_value string in the httpd.conf file with
this line:
self.phpvalues = self.phpvalues = re.compile("^\s*php_value\s+(.*)$",
re.M).findall(string)

i need line to check also for "php_admin_value"
i really dont know a lot in python so its a problem for me to do this
alone ...

thanks Alot for you help.
Rotem
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,184
Messages
2,570,978
Members
47,561
Latest member
gjsign

Latest Threads

Top