configuration

Opening brackets displayed incorrectly in Leo

I'm using (and enjoying) the Leo literate text editor, but I'm having a problem with one area of configuration. I like working with a black background and have changed the colours in LeoSettings.leo appropriately, but all but the last opening bracket on a line are displaying in black. Are there any known workarounds to this bug (I'm us...

Where does the Perl Package Manager get its 'areas' data from on Win32?

I guess I didn't upgrade the right way, but for a while I was running two versions of Perl concurrently. Now I just have one, but every time I start PPM it recreates the Perl folder of one of the old locations. I've set the active one to be the current Perl folder, but because the old one is still present on the list (displayed when I ...

How to programmatically override web.config settings

When I have a specific setting in web.config, say the session state configuration, and I want to programmatically determine the configuration at Application_Start, how would I go about this. I am trying to have a slightly different configuration per environment. I do not want to overwrite the real web.config (prevent restarts) I know t...

What are your suggestions for an ideal Vim configuration for Perl development?

There are a lot of threads pertaining to how to configure Vim/GVim for Perl development on PerlMonks.org. My purpose in posting this question is to try to create, as much as possible, an ideal configuration for Perl development using Vim/GVim. Please post your suggestions for .vimrc settings as well as useful plugins. I will try to merg...

localhost problem on windows 7

Hi there I m using windows 7 prof. and i want to run my web project but url modife to www.localhost.com if use http://127.0.0.1:2710/default.aspx it working. i checked host file which in the C:\Windows\System32\Drivers\Etc\hosts. i deleted that rows : # 127.0.0.1 localhost # ::1 localhost but anything changes. h...

(.Net) suggestions on making a config file for a program?

I'm not necessarily referring to app.configs, but a custom configuration file that would store my program's state whenever a user hits a "save" button. In my example, it's a UI builder that allows the user to choose which "fields" are to be displayed on the left and right columns in a two-column screen, along with the order of the field...

How to retrieve the Zend_Config used by Zend_Application?

I'm migrating my app to use Zend_Application for bootstrap. I used to have the Zend_Config as a key for my $registry. Now I don't know how to use it this way anymore (without having to reload the config file). I know it's possible to use $application->getOptions(), but that gives my an array and I would have to change everywhere in my c...

FileNotFoundException in Visual Studio Setup and Deployment Project when trying to load custom config

Hi, I'm trying to call a custom action within my Setup & Deployment project to update some items within the app.config on my app. I've wrapped up the custom config section in the usual way, e.g.: [ConfigurationProperty("serviceProvider", IsRequired = true)] public string ServiceProvider { get { return (string)base["serviceProvider"...

How do I change the default application config/setting in different deployments?

I have a c# class library that builds into a DLL. I have some setting values, like paths to directories, that I use inside the class library. I would like to make it so, that whomever references the DLL has a chance to edit the default values of the settings (preferably through a file). Like, [In the class library] Default value would...

ConfigurationErrorsException after Changing Root Namespace

I am receiving the following ConfigurationErrorsException: System.Configuration.ConfigurationErrorsException was unhandled   Message="Configuration system failed to initialize"   Source="System.Configuration"   BareMessage="Configuration system failed to initialize"   InnerException: System.Configuration.ConfigurationErrorsEx...

Apache web-server config, what is redirecting me and how can I change it

Background: I inherited a web server that serves up files from /var/www/html. The server used to serve up files from the following locations: /var/www/html/alpha/index.php /var/www/html/bravo/index.php /var/www/html/charlie/index.php You could get to these sites from the web using: http://apples.mysite.edu/alpha http://apples.mysite....

Richfaces enable on only one page

Hi, I worked hard on this problem but no way to find a solution. I juste wan't to enable richfaces for one and only one HTML page. Why ? Because I use RichFaces on only one page. Moreover I'm losing precious time on each others during the page loading due to JavaScript code that I don't use. => This code is add on each of my pages. I ...

Can I retrieve config values for SSIS from XML in a table?

My current client stores all of their configuration information for the enterprise applications in a single table that holds XML. They then use a custom built front end to maintain the configuration values. I'm writing a fairly straight-forward import process for them using SSIS. I need to make the connection strings and some other info...

Silverlight looking at wrong url for clientaccesspolicy file.

Hello Everyone, i have a silverlight app connected to a webservice over https. The webservice is hosted on mydomain.com (not localhost). When i run the silverlight, it makes https calls to webservice on mydomain.com, but also tries to access "http://localhost/clientaccesspolicy.xml" and fails obviously. Why is my SL app looking for ca...

Setting up one configuration file for CodeIgniter

I'm building an app with CodeIgniter. My question is how do you combine the database config with a site wide config file? I want to have the config file based outside the application directory so that users will only need to modify one file without digging around inside the application directory. ...

.NET DLL Settings and Config when there's a Web Reference - whats going on?

My understanding is, that .NET doesn't really 'do' config files for DLLs - only the main Executable or Web App gets a config file, and all DLLs referenced by the Executable/Web App read from that. But in VS2008, if you add a Web Reference to a Class Library (DLL) project, it adds a Settings.Settings file and an app.config file to the pr...

Setting expires header for a specific URI?

Hello I'm trying to set expire header for a specific URI but for some reason it is not working, what I've done so far in the httpd.conf file was the following: <LocationMatch "/mysite/contentservices/weather/get.json"> ExpiresDefault A86400 </LocationMatch> <LocationMatch "/mysite/*"> Options FollowSymLinks MultiViews AllowOver...

ini4j - How to get all the key names in a setting?

I've decided to use ini file to store simple key-value pair configuration for my Java application. I googled and searched stackoverflow and found that ini4j is highly recommended for parsing and interpreting ini files in Java. I spent some time reading the tutorial on ini4j site; however, I was not sure how to get all the key values fo...

Handling configuration settings in asp.net web application

I have a web application with over 200 configuration settings. These control everything from UI to Business logic. Should these be retrieved on application startup or when they're needed? Should they be injected with an ISettings interface when needed. Whats your opinions? Update: These can be switched on and off in the application s...

GUI tool for configuring Java property files and XML files

Hi, This is more of a question about tools that are out there instead of a programming question on one particular stuff. So apologies in advance if the question does not belong here. I have an application that I want to develop a GUI configuration tool for. At the moment config files for the application are found in a couple of directo...