Files that configure the initial settings for some computer programs.
Questions tagged [configuration-files]
2246 questions
14
votes
2 answers
Does the order of elements in app.config matter?
I have seen and experienced problems with app.config/web.config where I had changed the order of elements and the app stopped working.
I believe I fixed the problem by looking at machine.config and following the order in there.
One example is the…

Klinger
- 4,900
- 1
- 30
- 35
14
votes
3 answers
What is a good place to store configuration in Google AppEngine (python)
I am making a Google AppEngine application and am doubting were I should store (sensitive) configuration data like credentials.
Should I make a single bigtable entity for configuration, or is there another advised way to store it.

Peter Smit
- 27,696
- 33
- 111
- 170
14
votes
2 answers
Java - encrypt / decrypt user name and password from a configuration file
We are busy developing a Java web service for a client. There are two possible choices:
Store the encrypted user name / password on the web service client. Read from a config. file on the client side, decrypt and send.
Store the encrypted user name…

rbrayb
- 46,440
- 34
- 114
- 174
14
votes
2 answers
Laravel config/app.php not updating
in laravel 5 , config/app.php I've set the locale to 'ar'
but while trying to get locale in code via:
config('app.locale');
I still get 'en'.
Seems like config/app.php isn't auto-loaded/updated.
even if config/app.php is empty,…

Mehrdad Shokri
- 1,974
- 2
- 29
- 45
14
votes
5 answers
Play Model Objects from External API
I'm new in Play 2 Framework v. 2.1.1 with Java and I'm looking for the best way to do the following without duplicating code.
To simplify, I have a Play 2 backoffice that uses an external API. I don't manage this API, but I call REST Services to…

Diego D
- 1,735
- 3
- 22
- 38
14
votes
3 answers
In the Pyramid web framework, how do I source sensitive settings into development.ini / production.ini from an external file?
I'd like to keep development.ini and production.ini under version control, but for security reason would not want the sqlalchemy.url connection string to be stored, as this would contain the username and password used for the database…

michel-slm
- 9,438
- 3
- 32
- 31
14
votes
4 answers
Symfony2 - Why use XML for settings/config?
Is there any interest to use XML over YAML for each of these types of file:
config
security
routing
services
translations
I would like to ask XML vs YAML and JSON globally, but I'll stick to these topics :)

Pierre de LESPINAY
- 44,700
- 57
- 210
- 307
13
votes
9 answers
How do you handle command line options and config files?
What packages do you use to handle command line options, settings and config files?
I'm looking for something that reads user-defined options from the command line and/or from config files.
The options (settings) should be dividable into different…

Frank
- 64,140
- 93
- 237
- 324
13
votes
3 answers
Vue js with an external configuration file
I'm wondering if it is possible to let to a Vue App to read an external configuration file. I imagine something in which I deploy the application, ship the application with the config file; at this point it should be possibile to change the…

Maurizio Ricci
- 462
- 1
- 4
- 11
13
votes
4 answers
Git: application configuration and different environments
We use git for most of the web applications we build in our shop, and though the applications themselves use a variety of technologies (PHP, Rails, etc), we generally have a staging and production server for each site. Typically, these servers have…

justinbach
- 1,945
- 26
- 44
13
votes
2 answers
How to load a separate Application Settings file dynamically and merge with current settings?
There are questions pertaining to reading settings from a separate config file and others similar to it, but my question is specific to application property settings (i.e. - see XML file below) and how to load…

Pat
- 16,515
- 15
- 95
- 114
13
votes
3 answers
Simple Linux command line command to modify an option in a INI-like config file
I am looking for a generic command line solution that would allow me to add or modify a configuration option inside a config file (INI-like format).
Most Linux configuration files use a INI-like format, with # and ; as comment and with…

sorin
- 161,544
- 178
- 535
- 806
13
votes
5 answers
How to rename project in RubyMine
I'm running Rubymine 5.4.x on Windows 7 (but that shouldn't really matter for this question) and I have managed to delete projects and seemingly rename them before, but I am stuck this time.
In the past, this is what I've done:
rename all…

Flak DiNenno
- 2,193
- 4
- 30
- 57
13
votes
3 answers
Updating AppSettings via ASP.NET MVC Controller
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…

Keith Williams
- 2,257
- 3
- 19
- 29
13
votes
4 answers
Reading connection string from external config file
I have created a console application and an app.config file and Connections.config file.
The app.config file has a connectionstring property source pointing to the Connections.config
When I tried to read the connection string in the application, I…

PSR
- 875
- 2
- 13
- 37