Configuration files

Andy McKay <[email protected]>
Newsgroups gmane.comp.web.zope.plone.installers
Message-ID <[email protected]>
So with 2.7 I think Jim and I came up with the following:

- Strip zope.conf down a bit.

- Make a plone.conf that sets Plone configuration. This would contain 
key values like debug-mode off. Users could edit this one file. On 
Windows this would have a big "This file is auto generated by the 
controller, edit at your risk!" at the top.

But I still want to be able to do two things, set HTTP_MANAGE for the 
second port and let users run Plone in debug mode at the click of button.

For this Im still going to pass through HTTP_MANAGE as an environment 
variable.

One approach I can think of for making a simple one click debug run is 
to make a bin\debugzope.bat that calls an etc\debug.conf that has

debug-mode on
%include zope.conf

Which then starts all the includes off again, but seems a little 
confusing to users. But... if this will conflict with plone.conf if it 
has a debug-mode off in it (it will).

Anyone got a better idea?
-- 
   Andy McKay
   ClearWind Consulting
   http://www.clearwind.ca


-------------------------------------------------------
This SF.net email is sponsored by: IBM Linux Tutorials.
Become an expert in LINUX or just sharpen your skills.  Sign up for IBM's
Free Linux Tutorials.  Learn everything from the bash shell to sys admin.
Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.