Re: [squid-users] About a squid manager system

From: SM <sm@dont-contact.us>
Date: Sat, 17 Mar 2007 11:09:00 -0700

At 01:10 13-03-2007, Felix New wrote:
>Maybe i did not discribe my requirement. We need a front web interface
>or other method)client?) to modify the all configurations of all
>server( or split the file and store it in database, or xml) easily.

[snip]

>tired. i want to split the squid.conf and store to database, so modify
>easily with web interface. but i don't know how to parse, split, and
>reassemble squid.conf with appropriate method. consider squid.conf

You'll have to write the code to parse the squid.conf and feed it
into your database. You can then change the settings through the
interface you designed. Once the changes are done, generate a new
squid.conf by using the settings stored in your database and send it
to the computer where squid is running. Then restart squid.

The above can be done in Perl or any language you are familiar with.

Regards,
-sm
Received on Sat Mar 17 2007 - 12:15:04 MDT

This archive was generated by hypermail pre-2.1.9 : Sat Mar 31 2007 - 13:00:02 MDT