I need to add xml-content to my application configuration file. Is there a way to add it directly to the appSettings section or do I need to implement a configSection?
Is it possible to add the xml to a CDATA element?
...
I'm designing a fairly small web application which will run on a Sun application server (v9.1). It only has a few pages, no database of its own, and will retrieve/update data via web services. There's one block of text on one of the pages which we anticipate will need to be updated occasionally (a few times a year?) by a system admin. Wh...
I have a basic facility for allowing users to remotely apply changes to the logging files in my application. Some logs are configured using java.util.logging properties files, and some are configured using log4j/log4cplus-style properties files. I'd like to do some basic validation of the properties that users try to apply. Namely, I ...
This is a dupe from SuperUser.com . Folks over there weren't smart enough or willing to help me out; maybe it's more a programmer question than an administrator one:
I have an app that reads input from 4 (four) mice that are plugged in via USB in addition to the built-in touchpad. This is no problem for Ubuntu 9.10: hald notices the n...
I am trying to configure my wireless device programmatically for wpa2-psk & AES.
My platform is wince 6.0.
Currently I am using wzctool in wince to configure my wireless.
Other configurations work fine once configured.
When I try configuring wpa2-psk, the configuration fails and the device goes to default configuration.
How can I c...
Hi,
I'd like to know if it is possible to vertically split screens in cgdb ?
Regards,
...
I have a console application project and library project (dll) in one solution. The library project has app.config file where I store a connection string to database.
The console application references this dll.
When I compile the console application and deploy it with the library I am not able to access the app.config file that belo...
Hello,
I am trying to add and additional test environment to a rails 2.3.4 project. I have added the proper db configuration into database.yml and I have created a file with the name of the environment in the environments directory which is a basically copy of test.rb. The new environment is named test_ci.
When I run all tests using th...
I have a simple app which requires a many-to-many relationship to be configured as part of its set-up. For example, the app requires a list of repository URLs, a list of users and for each user, a subset of the repository URLs.
I first thought of using a config.py file similar to the following:
repositories = {
'repo1': 'http://sv...
I'm writing a basic little forums web app (for fun and to sharpen the ole' saw), and I'm having a bit of trouble with AppSettings.
My plan is to have these settings in their own file (Settings.config), to which I will grant modify permissions to the web process user account, and store all editable settings in this file (e.g. forum title...
How can I get ahold of assembly.dll.config in the bin of an executing application in .net?
...
I want to configure a Forwarding-Appender in log4net, that does the following:
It buffers up to N messages. When N is reached, its trigger is executed and it forwards its buffer. Not lossy.
It forwards its buffered messages if a defined timeout is reached. So the trigger is executed also when a timeout is reached.
It forwards its buffe...
What is the file? I have php.ini and php.ini-dist on my computer.
...
I am running into an issue with my web.config in the inetpub/wwwroot and my application web.config. I have a section name XLS in my application web.config and also a section named XLS in the inetpub/wwwroot web.config. The difference is in their types. I keep getting a section has already been declared if the types are different between ...
I want my app.config (or my web.config for that matter) to read from an SQL database instead of an XML file. How can I do that?
...
I'm trying to find a good way to maintain PHP configuration differences between a dev and live environment. I know how to handle differences when scripts are run by Apache (see below), but not when they are run on the command line, e.g. via cron.
Background info:
What do I mean by "configuration differences"? Like most code shops, we r...
Hi there,
I am trying to add the CKEditor to a page I am currently developing but am having problems getting it to pick up my custom configuration file? I am using CKEditor in Visual Studio.NET 2008. I need to customize the toolbars that are displayed, as Basic is too minimal and Full would give an overwhelming amount of buttons to th...
Hi,
I'm trying to get Tomcat 6.0.20 working with SSL authentication. I used keytool to create a new certificate, put it into my user dir, and set the tomcat authentication to this (server.xml):
(Omitted)
-->
<Server port="8005" shutdown="SHUTDOWN">
<!--APR library loader. Documentation at /docs/apr.html -->
<Listener className="...
What configuration values are needed to setup Log4j to use the following pattern?
MyApp-Mon.log
MyApp-Tue.log
MyApp-Wed.log
Etc
With each file containing the days log.
This sounds easy enough to do with Log4j's DailyRollingFileAppender but I am having trouble.
Here is my current config;
<appender name="daily-file" class="org.apache.lo...
I'm thinking of implementing a configuration file written in Python syntax, not unlike what Django does.
While I've seen one or two SO questions about the merits of using executable code in configuration files, I'm curious whether there is a way to execute the config file code in a "sandbox" to prevent mistakes in the code from locking ...