configuration

Create a global (not user specific) executable configuration in Xcode

Xcode normally saves its executable configurations in the user specific ".pbxuser" file. Is there a way to tell Xcode to save these configurations globally, in the "project.pbxproj" file, so all users can use them? Regards, Jochen ...

Will major config changes discourage users from deploying code?

I'm beginning development on a solution that will plug into an existing application. It will be made available for public use. I have the option of using a newer technology that promotes better architecture, flexibility, speed, etc... or sticking with existing technology that is tried and tested which the application already uses. The ...

Redirects in Glassfish (adding trailing slash)

Is it possible to add a trailing slash to the default context of an application? Example: http://www.uri.com/foo -> http://www.uri.com/foo/ I added the following redirect to the server properties: redirect_1: from=/foo url-prefix=/foo/ and this ends up in a loop... Several other configurations also didn't work :-/ I'm using glass...

How to use a manifest embedded as a resource? (Windows XP/Vista-style controls)

I have a manifest embedded as a Windows resource. But what's the right way to apply it? More specifically: I have my .manifest file. It's the standard one to make an app use controls in the Windows XP/Vista visual style. When applied by being in the same directory as the .exe and suitably named, it works. However, this approach is ...

Setting AutoEventWireup="false" by default

Hi, When I add a .aspx page or .ascx control to my website the default value that appears for the AutoEventWireup attribute in the page/control directive is true. Is there any way to change this default value (I mostly set this value to false)? So that I dont have to manually change it each time I add a page. You can call me lazy ;) Th...

Differentiating web.config between dev, staging and production environments

Anyone have any good tips on handling differences in web.config settings between environments? I've considered creating a 'config' folder in our source control system but outside of the web hierarchy, and having the deployment process copy the appropriate config files (web.dev.config,web.staging.config, web.production.config) into the we...

Elegantly handle site-specific settings/configuration in svn/hg/git/etc ?

I've been looking for a better way to deal with site-specific settings (in this case, the django settings.py file). The settings.py structure and fields are fairly consistent, but the values differ between the developer's boxes, the integration, QA, testing, and production environments. What's an elegant way to have the settings sourc...

Spring.NET Expression that References an Object Definition

I'm trying to reference another object I've defined in a Spring config file from within an expression. Specifically, I'm trying to populate a property with the value of an expression where I call a method and then a property on the object returned from that method. I've tried the following (names have been changed): <property name="Nu...

Eclipse JVM configuration

Hi, Background: I've got a new eclipse installation and have installed the m2eclipse plugin. After startup m2eclipse generates the message: Eclipse is running in a JRE, but a JDK is required Following the instructions from here I've changed the eclipse.ini file to use the JDK JVM: -startup plugins/org.eclipse.equinox.launcher_1...

How to have a specific 404 for a folder using ASP.NET ?

This is a bit tricky and I'd be glad if you guys could give me some pointers on this one. Here is what I want to do: A user tries to access myapp.com/data/123456.mp3 test.mp3 doesn't exist The system sends the user to myapp.com/data/error.apsx?file=123456.mp3 I need this in order to handle the way a large system is supposed to serve ...

Managing user configuration files across multiple computers

I commonly work on multiple computers. I have various configuration files, eg, .bashrc, .gitconfig, .irbrc, .vimrc and configuration folders, eg, .vim/ that contain valuable customizations. Sometimes I want small variations in configuration between the different computers. I want to use version control to manage these different files. ...

Duplicate keys in App.Config does not throw exception

I discovered this by chance when I have a duplicate key/value pairs in my app.config file for a .NET 2.0 console app. To my surprise, it works and the app reads the latest pair. I was pulling my hair when trying to figure out why I could not fetch the correct value of a key (cause I did not realise a similar key with an old value was low...

simple way to store parameters in php cms

I am working on a cms and there are some simple parameters like number of posts per page, default color and style sheet, that are customizable by the user trough an UI. So what is the best way to store this settings in simple and secure way? Help is very appreciated. ...

Multi-Master Replication with MySQL Cluster

Hi All, I have configred mysql cluster management node and data nodes and mysqld on two server's. Everything is working fine but when i shutdown my first management server then all the nodes get disconnected. Here's the Cofig.ini [NDBD DEFAULT] NoOfReplicas=2 # Number of replicas DataMemory=3500M # How much memory to allocate f...

Set up default "alter session" for an Oracle user

For a JDBC application I need to issue a few ALTER SESSION commands. I do not want to put those into the application code itself. Is there a way to specify defaults for the session parameters for the database schema that the application uses (on the database side) ? ...

Lighthttpd - best way to update system network config file from web application

Hi All, I have a Gumstix (runs linux) that im using for a project and would like to be able to configure the ethernet / wifi configuration through a web page running on the built in web server. Think of how routers and the such work - you can log into a default web address and configure everything from there - thats what I want to be a...

how to allow .com in a url path using IIS6 on Win2003 R2 x64?

it seems IIS6 on Win2003 R2 Enterprise x64 SP2 will not allow you to use .com in a url path. e.g if i create a folder foo.com in my web root, containing a default.htm, this url results in a 404: http://localhost/foo.com/default.htm however, following the exact same steps on Win2003 R2 Standard x86 SP2, and IIS6 will serve up the file ...

cannot change the php.ini file!

Hello I have changed the php.ini file in the location (C:\xampp\apache\bin\php.ini) for Xampp and restart the server I am sure it is the real php.ini file because I have checked with phpinfo() however my changes does not take effect! why? update: I have PHP Version 5.2.8 I have changed the file C:\xampp\php\php5.ini but the pr...

IIS: .htaccess php_flag / php_value alternative?

Hi all, For IIS (5.0 or higher), are there alternatives to apache's .htaccess directives php_flag and php_value to set PHP_INI_PERDIR config values? Thanks. ...

PHP: Long page not displayed / Connection was reset

I have page listing few records from db. After upgrading to PHP 5.3 site printing long records list is not displayed - Explorer says "Connection was reset" I've changed SQL query in code to limit records and then page was shown correctly So it seems to be some kind of timeout set. I've tried find some settings in PHP.ini , HTTPD.conf ...