Questions tagged [configuration]

Configuration is the process of specifying the settings used for a system or application

Configuration is used to customize the behavior of a program. It is commonly done using static configuration files that can be composed in any common text editor, but some applications provide tools (sometimes even with graphical interfaces) to create, modify, and verify the syntax of their configuration files.

Some programs only read their configuration files at startup. Others periodically check the configuration files for changes. Users can instruct some programs to re-read the configuration files and apply the changes to the current process, or indeed to read arbitrary files as a configuration file.

18012 questions
8
votes
2 answers

Azure functions: Read config from host.json after deploy

I've made an azure function in C#. I use local.settings.json for testing locally. Everything works correctly with ConfigurationManager.Appsettings["key"] Now I have published it. Nothing is working anymore. Host.json is there, I can browse the…
Liquid Core
  • 1
  • 6
  • 27
  • 52
8
votes
4 answers

(OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. Windows apache

When trying to execute httpd.exe on my windows server, I get this error: (OS 10048)Only one usage of each socket address (protocol/network address/port) is normally permitted. : AH00072: make_sock: could not bind to address…
samster
  • 142
  • 1
  • 2
  • 9
8
votes
3 answers

How to apply different layouts to the same target in NLog?

NLog allows me to use SplitGroup to log my messages to several targets. I'd like to use this feature to log each message to a common, user-specific and date-specific logs at once:
Dan Abramov
  • 264,556
  • 84
  • 409
  • 511
8
votes
1 answer

Globally set lintOptions in android studio gradle file

How should I set Lint Option and VersionCode/Name globally for all modules I have 3 module and 1 application module for every module/build.gradle file I need to set as lintOptions { checkReleaseBuilds false abortOnError false } …
Sushant Gosavi
  • 3,647
  • 3
  • 35
  • 55
8
votes
1 answer

Is there a way to escape colon in appsetting.json dictionary key in aspnetcore configuration?

I have this provider dictionary in appsetting.json "AppSettings": { "Providers": { "http://localhost:5001": "Provider1", "http://localhost:5002": "Provider2" }, "ArrayWorks": [ "http://localhost:5001", …
Whoever
  • 1,295
  • 1
  • 14
  • 21
8
votes
1 answer

How to enable CSS sourcemaps for Angular 6 application?

How do I enable sourcemaps for CSS files in my Angular 6 application? I'm defining my styles source code in SCSS files, which are later compiled to CSS by Angular CLI. However, I can't see the original source code in the browser during styles…
Slava Fomin II
  • 26,865
  • 29
  • 124
  • 202
8
votes
2 answers

Sign git commit with x509 certificate in corporate environment

I have learned from the documentation that it is possible to sign git tags and commits. git config --global user.signingkey 0A46826A Docs: https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work This works for GPG. Has somebody done something…
silverfighter
  • 6,762
  • 10
  • 46
  • 73
8
votes
5 answers

Symfony 4 - how to use service tags when autowiring an entire path

I'm working on a bundle for Symfony 4 that is structured like this: \Acme \FooBundle \Article \Entity - Article.php - Comment.php \Form - ArticleType.php \Repository - ArticleRepository.php …
VMC
  • 1,378
  • 4
  • 16
  • 32
8
votes
2 answers

How to change Login URL in Spring Security

I created an API that provides User authentication and it's login operation is handled on default '/login' path by Spring Security. I want to change this path to 'api/v1/login'. this is my security config : http.cors().and().csrf().disable() …
Samet Baskıcı
  • 1,090
  • 3
  • 13
  • 26
8
votes
5 answers

Eclipse OSGI config: relative paths and/or @config.dir-like substitutions?

In my RCP app, I would like to point a property (osgi.java.profile) to a file, and would prefer using paths relative to my installation and config dir. Is there a definitive spec on what kind of variables are supported in config.ini? @config.dir…
inger
  • 19,574
  • 9
  • 49
  • 54
8
votes
1 answer

apache: escaped umlauts in query string (URL) lead to 403

i have a problem i never encountered before, and i think it has something to do with the apache configuration, which i'm not very well versed in. first, there is a php script with a search form. the form is transmitted via POST. then there's the…
stefs
  • 18,341
  • 6
  • 40
  • 47
8
votes
1 answer

ES-6 .1. - How change default number of shards

I am using ES 6.1. and I am trying to change default number of shards from 5 to, for example, 6. Is it possible in some way? When I add lines bellow to the elasticsearch.yaml file, the ES will not start. index.number_of_replicas :…
dorinand
  • 1,397
  • 1
  • 24
  • 49
8
votes
1 answer

Loading external properties file angular 2+

I was wondering if there was any way in Angular 2+ that I could have my api url's in some external config.json file and load them prior to build. I ask this because in my current situation I am just defining them as variables in my service and if I…
user3786798
  • 93
  • 1
  • 1
  • 5
8
votes
1 answer

How to use command line dpkg options to unpack conf and skip postinst script

I have a need to run dpkg install, unpack the conf files, but skip running the postinst scripts (if it's included in the deb file). I've tried to change the SHELL variable to /usr/bin/true, but that didn't work. Any other ideas would be great!
StephenG
  • 2,851
  • 1
  • 16
  • 36
8
votes
1 answer

How to externalize GSP mail templates with Grails?

When emails are rendered from templates, the templates are looked up in "grails_app/views": mailService.sendMail { from sender to recepient.email subject "Don't forget" body (view: "/emails/reminder", model:[recepient:…
deamon
  • 89,107
  • 111
  • 320
  • 448