configuration

PHP set warnings as fatal

Is there a way to specify in php.ini or apache level that the script execution should halt on any warnings? I tried searching through google and stackoverflow but couldn't find any relevant information yet. I do know about the set_error_handler() function but I am looking to do this at the php.ini level. ...

nginx conf does not use my defined location rules

When users come to / they should be served a static index.html file. When they come to /foobar the request should be sent to the backend server. However, this is not the case, with the following: pid logs/nginx.pid; worker_processes 2; events { worker_connections 1024; } http { include mime.types; de...

RIA Services IIS 7 AppPool SQL Server Silverlight Failure

I'm using custom authentication, works fine. When I try to do an insert from another part of my code I get a DomainOperationException error in my Silverlight App. I traced it back to a SQL Server (2k5) error which is Login Failed for XXX\XXX [Client: ]. The web server and db server are different machines, same domain. I've tried a do...

Fluent NHibernate Mapping Exception On Compiling Mapping Document

I have an NHibernate configuration file as follows: <?xml version="1.0" encoding="utf-8" ?> <hibernate-configuration xmlns="urn:nhibernate-configuration-2.2" > <session-factory name="MyProject"> <property name="dialect">NHibernate.Dialect.MsSql2005Dialect</property> <property name="connection.provider">NHibernate.Connection.D...

Approach to upgrade application configuration

Hi All, My application has a xml based configuration. It has also a xsd file. Before my application starts, xmllint will check the configuration against the xsd file. With the growth of my application, the configuration structure has changed a bit. Now I have to face this problem: When I provide a new version of my application to cust...

WCF Security and config help - base address for https not found

Hi All, I'm getting this error in my event log for a Windows hosted service. Service cannot be started. System.InvalidOperationException: Could not find a base address that matches scheme https for the endpoint with binding BasicHttpBinding. Registered base address schemes are [http]. This service has always worked unt...

How to have a common bin/reference folder in asp.net web application/project when deploying?

I have a solution with about 10 different projects - I have a single class library that I am using in quite a few web projects. The problem when I am going to deploy these projects...they are going to have their own bin directories and hence references to this library...so i would need to update the reference on all 9 places/projects whe...

How to configure VSTS2008 Code Analysis?

In VS2008 Team System how do I select some Code Analysis rules? The window is empty. When I build, there is the error: CA0053 : * Failed to load rules file '\rules': Unable to find the specified file. Obviously this means the rules file isn't found and that is the problem. What is the remedy? In other words, how do I use the pro...

Using different Datasources for different configurations in SSRS

Hi All I'm wondering if it's possible for SSRS reports to use different datasources depending on what configuration is being used? So, for example, if I'm using the 'DebugLocal' configuration, the reports would use a different database than if I'm using the 'Production' configuration. Thanks Bryan ...

iPhone Xcode RELEASE configuration build error - yet DEBUG works OK

Hi, I am a fairly new iPhone developer. I have four apps in final testing stages and working to get them signed and ready for the app store. I duplicated the RELEASE configuration, and when I try to build using it I get this error: Precompile myappname_Prefix.pch<br> Command /Developer/Platforms/iPhoneOS.platform/Developer/usr/bin/gcc-4...

Apply an App.config to my DLL assembly?

I'm writing a class library as an abstraction to use for logging in any application, service, etc. that I write. I'm making it decently robust by making it very configurable to suit my needs for most application/service logging scenarios that I come across. The config is designed to specify things such as: What logging level to write ...

Apache configuration auto-subdomain

I want to create an Apache directive that will be based on a domain (say eli.lh) and that every sub-domain entered (such as test.eli.lh) will be directed to a sub-folder of a predefined directory with the same name as the sub-domain. What I mean: I have /var/projects/ that contains any number of directories inside it, one of them is /v...

How to move location of Atomikos's tm.out and *.epoch files?

I'm running a J2SE application that uses Atomikos which dumps it's numerous log files to the current directory. I'd like to move the location of these files to "/tmp", but I cannot locate a configuration property that I can set from within my Spring XML config file. The Atomikos documentation references a property: com.atomikos.icatch...

can apache be configured to create separate sets of processes listening on different IPs for security?

I am trying to check if the following is possible. I have a single apache config file that listens on port 80 for external traffic and port 8080 for internal traffic. Can I configure in such a way that there are (say) 10 httpd processes that are handling my external traffic on port 80 and another set of (say) 10 httpd processes that are...

Command line option to tell msi installation to a specific location

Is there anyway to install the msi at specific location through the command line. ...

Rails - Custom config in environment config files?

Is it possible to define custom configuration in config/environments/*.rb or config/environment.rb file. Is yes, how do i access them from my code (controller, model, library, helper) Thanks. ...

Can I substitute Eclipse and Maven variables into a log4j.properties file?

You can use system properties in log4j configuration files using a ${variablename} syntax. Can you include Eclipse variables (like the project name) and Maven variables (like the artifact ID) in there too, and have them substituted during the respective build? ...

Fluent NHibernate - Configure Oracle Data Provider ODP

I am brand new to NHibernate and Fluent NHibernate and I am trying to get the following confguration to work. private static ISessionFactory CreateSessionFactory() { return Fluently.Configure() .Database( OracleDataClientConfiguration.Oracle10.ConnectionString("Data Source=mysource;User ID=myid;Password=mypwd;") ...

How do you inject build-specific configuration into an APK?

I have an Android app which I distribute to several different market providers; the app is functionally the same for each, but requires certain distinct configuration parameters. Ideally I would like to produce all the individual APKs in one build step. Is there an "official" way to achieve this? I am considering an approach in which ...

$settings array or Config Class to store project settings?

How should I store settings for project? Which is better - to use a $settings array with all my settings: $settings['max_photos'] = 30; //... or create a singleton Config class with all the settings in it? Class Config { private $max_photos = 30; //... } Any good examples? ...