configuration

MSVCP90.dll not found?

Hi, in my project if compile project in release, it asks me MSVCP90.dll. if it is debug, it does not... have you ever met such a situation? and do you know why this .dll is desired? or what configuration makes it to be desired? thanks for any advice.. ...

How can I modify Rails' config within an engine plugin?

I'm working on an engine for Rails as a plugin. I'd like it to be able to make necessary changes to Rails' configuration when it's loaded so it can specify its Gem dependencies as well as add some load paths. The plugin's init.rb file has access to the config object but this is effectively read-only, you can specify a gem but it makes n...

Possible to alias .NET namespaces in app.config?

ASP.NET has a feature that allows you to declare implicitly used namespaces in the web.config. <configuration> <system.web> <pages> <namespaces> <add namespace="System.Web.Mvc"/> </namespaces> </pages> </system.web> </configuration> I'm curious to know if configuration for other .net environments (like winforms, consol...

Version configuration from SQL

How would you create an installation setup that runs against multiple schemas taking into consideration the latest version of the database updates? Ideally: update a single file with a new version number, then send the DBAs an archive containing everything needed to perform the database update. Here is the directory structure: | inst...

Compiling PHP 5.1.6 with PDO MySQL

I originally asked this question on ServerFault and haven't got any response and I figure it's programming related so, here goes... A while ago a large client of ours moved to a single hosting provider who spec'd out a software environment which would be consistent accross all the live servers. Amongs other things this includes Apach...

Prevent MS Web Development Server (Cassini) from running HttpModules for static content requests

IIS7 supports this by using <system.webServer> configuration element to set module's preCondition="managedHandler" attribute. Since Cassini is a managed server it serves requests in a similar way as IIS7 does. All requests are handled by managed code. By similar I mean it executes HttpModules for every single request even if it's static...

Is .Net reading web.config from top to bottom?

1) If ( inside web.config file ) I declare custom section named songPoem before <configSection> , an error is reported saying songPoem element is not recognized. Thus, the following gives me an error: <songPoem song=”lalala” /> <configSection> <section name=”songPoem” type=”A” /> </configSection> while the following works just fin...

django configuration, mod_rewrite, mod_alias.

I've made a django site for a magazine, and it's found in mag.org/django-site. the old site is still at mag.org/httpdocs (hosted by mediatemple). I would like it so that a hit to www.mag.org turns up the django site (as is currently the case, configured so in the conf file) while a hit to archive.mag.org serves the old site from httpd...

Do we need to create three xml for each encrypted config file

Hi guys, I was wondering whether if I need to create three xml files for 3 config file which im trying to encrypt. Or do i need 1 xml file for 3 config files. In other way Can I use the same xml file to decrypt all the 3 config files. ...

(.net) Configuration Settings basic question

I am binding a textbox's text value setting to my a variable in my configuration file. I only consider the input from this textbox to be valid if it's an integer number bigger than 1. Right now what I was doing is letting the user write whatever he wanted in the box, and I'd only let him save the settings after calling a validation funct...

UltiDev Cassini and <system.webServer> web.config settings

MS Cassini Development Web Server is a nice product that executes web requests in a similar way that IIS7 does. Every request (event for static content) goes through the same .Net pipeline without exception. All custom HttpModule can handle any request. But sometimes you don't want these modules to execute for certain content (most ofte...

Windsor-like Xml configuration <include> in Unity

Hello, I have common DI configuration for my application and integration tests. However, a couple of the dependencies do differ; e.g. my IEMailGateway in the integration tests uses a decorated version so that 'real' e-mails are not sent. In Windsor I would have the 'main' configuration xml file and simply add an include to add the var...

Web GUI for editing INI files

I am looking for a Unix based application or framework that would allow me to view/edit ini files on a remote system in a Html GUI via Apache (or similar). Searching for ini/config/GUI solutions via search engines returns a lot a false positives. Any recommendations? ...

Tomcat 6.x JDBC realm, classpath for driver problem

I've set up a JDBC Realm in my META-INF/Context.xml as shown below, and that works. The trouble is the JDBC driver now have to be placed under $CATALINA_HOME/lib/ Is there any way I can get that realm to load the jdbc driver from elsewhere, such as WEB-INF/lib/ in my webapp ? META-INF/Context.xml <?xml version="1.0" encoding="UTF-8"?>...

iPhone app: SDK 3.0 : Button Selected State: Can't get working!!!

Trying to do simple button functionality. Button A. It has 3 states: default, highlighted, selected. Should UNSELECT when clicked again. For the life of me, I can't even get a simple 3 state functionality established. Highlight (on press) appears built in (goes to "stock" blue). I"ve used Button Attributes to load in image for select...

setting up subdomains on nginx

Hi there, I'm trying to set a subdomain on nginx. My setup is a Pylons app running on port 8080 and using proxy from nginx. The reason why I'm trying to get subdomains to work is to eventually set up dev and staging servers. Here is my nginx.conf file: worker_processes 2; events { worker_connections 1024; } http { inclu...

Twiki problem : Cannot create any topics or new content

Hi, After installing Twiki on Vista and attempting to create a new topic, I see the following : During save of Main.TSI an error was found by the version control system. Please notify your TWiki administrator. Can someone point me the right direction? I'm a newbie at Twiki. I'm using Apache and ActivePerl as part of my installation ...

Limiting the memory consumption of tsvncache.exe in TortiseSVN ?

Does anyone know how to control the memory consumption of tsvncahce.exe used by TortiseSVN? It's consistently the largest consumer of memory on my machine. ~180mb on my Vista 64 machine. It uses more ram than VS2008, Sql Server and even my browser which usually has 4-5 tabs open. this just doesnt seem normal. I have already started hav...

How to define custom TraceListener in app.config

I have implemented a custom trace listener (derived from TextWriteTraceListener) and now I would like to set my application to use it instead of standard TextWriteTraceListener. First I added default TextWriteTraceListener in order to make sure it works ok and it does. Here's my app.config: <configuration> <system.diagnostics> ...

How to change the set of characters that are considered word characters in Mysql (Without recompiling)?

Hi, I run a Mysql 5.0.26 (Myisam tables). To improve the search results, I am doing some fine tuning. I have noticed that the characters considered as word characters do not match the constraints of (Swiss-) French... and English too. :( I would like to: ADD the character "-" in the "word character" list REMOVE the character "'" from...