Quantcast
Channel: Active questions tagged config - Stack Overflow
Browsing all 5049 articles
Browse latest View live

Configure apache virtual host with angular app

I ran into a snag where my website's home page will only display the "index of/" page instead of my angular app, or even just an index.html. I'm not sure what's causing this because the vhost config is...

View Article


Version Control Dot Files (separately)

I wish to version control my .vimrc ,.Xresources and various other dot files for convenience but would like to separate them so all wouldn't be deployed together.Two ideas came to my mind first is to...

View Article


How to dynamically set the IP address of the local API server for react app

I want to test my react application across all my screens. It works fine with the host device. But my other devices connected to the network cannot resolve the API host.React app runs on localhost and...

View Article

Yii2: Config params vs. const/define

When should I use what?I have the option to define constants in the index.php entry script file like it is recommended in Yii2 guide: constants. Or I could use the params in the configuration -...

View Article

Using Python logging in multiple modules

I have a small python project that has the following structure - Project -- pkg01 -- test01.py -- pkg02 -- test02.py -- logging.conf I plan to use the default logging module to print messages to stdout...

View Article


Multiple config blocks in angular module

I need to resolve some dependencies (fetching data for my services, etc.) in my app before it loads. I would like to separate these out, so that I have one config block for the main app, and then one...

View Article

Property of some interface type is not a ConfigurationElement

I have a custom ConfigurationElement. public interface IBingConfigurationElement { Guid CustomerId { get; set; } string PrimaryAccountKey { get; set; } string MapsKey { get; set; } IOAuthSettings OAuth...

View Article

Is there any dependency between config/environments/*.rb files and...

I am trying to understand how different pieces of configuration files work together behind the scene. Especially the configurations related to environments/.rb and deploy/.rb files. I know that...

View Article


how to run mizar on mac

If this is not the right stack exchange site for this type of question please let me know where would be more appropriate. Also let me know if there are better tags for this question and I'll add them...

View Article


Write appSettings in external file

I have a config file app.exe.config and appSettings section has something like this:<configuration> <appSettings configSource="app.file.config" /> </configuration> app.file.config...

View Article

After dynamically setting my config variable in codeigniter how to access...

I have updated my config variable in my model using:$this->config->set_item('userid', $user_id); if i echo it in the model i can see that it gets set.But if i echo it in the controller or another...

View Article

Removing the security group rule if its open to 0.0.0.0/0 for RDP and SSH

I have configured an AWS Config rule that removes any security groups inbound rules if thats open to 0.0.0.0/0 for RDP and SSH. That works fine. But It want that rule to be applied only to all private...

View Article

ConfigObj: prevent writing empty sections

I'm using ConfigObj (5.0.6, both on python 2.7 and python 3.8) to manage my configs, but when I'm writing to file config with some sections only presented in configspec, they're appearing only as empty...

View Article


How to always redirect to index.html in Nginx Docker?

I'm using nginx:1.16.0-alpine image of Docker for serve react app (which is built before) and I want to redirect to index.html page in any cases (in what URL is got)nginx.conf file has the following...

View Article

Add custom color to ckeditor of hippo cms

How do I add a custom colour to ckeditor in hippo cms? I've gone through tutorials and documentation of both, Hippo CMS and CKEditor but saw that config.js file is missing in the present project. After...

View Article


How to fix: AttributeError: module 'twint' has no attribute 'config'

I have installed twint with:pip3 install twint which resulted in a successful installation:Successfully installed twint-2.1.8 It works to get tweets from twitter using Command Prompt(CLI) commands but...

View Article

What is the best way to handle codekit config files excluded from...

Looking into cleaning up a repo - we are using CodeKit on this project, and want to remove the generated files from the server and repo etc. But then what is the best way to make sure that other devs...

View Article


Is it possible to place Cypress tests in existing React file architecture

I know that their patterns say to place all Cypress tests/integrations in the cypress/integration path. However, I would like to place the tests in the src/components path.src └── components └──...

View Article

What are the benefits of encrypting a web config file with a certificate?

What are the benefits of encrypting a web config with a certificate and what type of attack does it help prevent as opposed to other encryption methods?It's my understanding that encrypting the web...

View Article

Best way to manipulate variables inside a JSON config file in Python3

I want to have a JSON config file where I can reference values ​​internally. For example, consider this JSON config file at bellow:{ "hdfs-base":"/user/SOME_HDFS_USER/SOME_PROJECT"...

View Article
Browsing all 5049 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>