5
голосов
3ответов
2938 просмотров

Setting expires header for a specific URI?

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/*"...

8
голосов
3ответов
11292 просмотров

.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.Sett...

0
голосов
1ответов
412 просмотров

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.

2
голосов
2ответов
1177 просмотров

Silverlight looking at wrong url for clientaccesspolicy file

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...

0
голосов
2ответов
549 просмотров

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 ...

0
голосов
2ответов
1921 просмотров

Richfaces enable on only one page

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. =>...

0
голосов
1ответов
155 просмотров

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://app...

1
голосов
1ответов
589 просмотров

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, ...

3
голосов
3ответов
2482 просмотров

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

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 { ge...

3
голосов
2ответов
725 просмотров

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 ...

1
голосов
2ответов
1861 просмотров

(.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...

3
голосов
2ответов
2297 просмотров

Fluent Nhibernate - How to specify table name

I just started learning Nhibernate and Fluent Nhibernate. I want to specify table name when I create my mapping class. Entity name in application is "CustomerOrders" but in the oracle database, table name is "CUSTOMER_ORDERS". I learnt from googling that I can use "WithTable" to specify datab...

0
голосов
4ответов
4970 просмотров

localhost problem on windows 7

I'm using Windows 7 Pro and want to run my web project locally, but the url www.localhost.com does not work. If use http://127.0.0.1:2710/default.aspx it works. I checked host file which in the C:\Windows\System32\Drivers\Etc\hosts folder. If I delete the rows: # 127.0.0.1 localhost # ...

58
голосов
12ответов
12562 просмотров

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 w...

4
голосов
2ответов
3660 просмотров

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 r...

1
голосов
3ответов
2785 просмотров

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 st...

0
голосов
1ответов
550 просмотров

How to configure Telelogic Synergy so that the default type for "unknown" file is binary rather than ascii?

if I am not wrong, Telelogic Synergy mapped new files to a type depending of their extensions. If the extension is unknown, the file is by default declare as a base type ascii. Is it possible to make sure that "unknown" file type end up as binary rather than ascii ? Thanks, Thomas

61
голосов
10ответов
21989 просмотров

Java Web Application Configuration Patterns

Are there any patterns or best practices that can be used to simplify changing configuration profiles for java web applications across multiple environments. e.g. JDBC URLs, SOAP end-points, etc. As a bit of background to help clarify my question, I work with several large java web application...

12
голосов
2ответов
2103 просмотров

VS2008: how to run two separate projects from the same solution

I have a single un-managed C++ console-app solution (.sln) with two projects (.vcproj) both are built as .exe. I want to run them both at the same time (one is a client and one is a server). How do I configure my Visual Studio such that when I hit a single button, say F5, it would be smart enough...

0
голосов
2ответов
735 просмотров

xcode build configurations search paths

my iphone app builds fine in debug configuration, but when i change it to release, i get hundreds of errors, starting with "CoreServices/CoreServices.h: No such file or directory" in AudioFileComponent.h - part of the AudioToolbox framework. i can't find where in the project/build settings is re...

0
голосов
2ответов
4829 просмотров

Blank Web Service Identity, SSRS, Configure Report Server

I am currently setting up a Sql Server Reporting Services onto a Windows 2000 server with IIS5 and SQL Server 2005. The only thing I cannot get to configure is the Web Service Identity, in that the ASP .NET Service Account is blank and is read only. I have tried adding the ASP account (machinena...

9
голосов
1ответов
6025 просмотров

Android application configuration

Where should I store my Android application's configuration settings? Coming from the .NET world I was expecting something like a .config file. Do I create a file under res/values, and use that?

1
голосов
5ответов
262 просмотров

What have your ASP.Net MVC deployment experiences been?

I've been waging a bit of a battle with MVC recently, trying to get it deployed and working correctly on my web host server. While the host (ixwebhosting) has been very prompt and efficient at resolving some of the technical difficulties, I'm still encountering odd behaviours around getting the ...

7
голосов
4ответов
2527 просмотров

What's the best way to store global application settings in a Rails application?

I want to handle two kinds of global configuration settings: Settings which can be altered by the user, like if notification mails for certain events are sent or not. Settings which are tied to a specific product edition, like disabling a feature in a free version, which is only available in th...

0
голосов
1ответов
1077 просмотров

ActiveRecord-JDBC is for use with JRuby only problem

I'm running ruby script/server from the command line and getting ActiveRecord-JDBC is for use with JRuby only it then suggests gem install activerecord-jdbcmysql-adapter but when I try this it says that (no such file to load -- java) (RuntimeError) I've tried a fresh install of Rails and r...

0
голосов
1ответов
88 просмотров

how to configure same profile for every user in a organization

I need to set the user variables and settings for every user in a domine when I am configuring the workstation for him. the settings. are :Advanced performance options- visual effects for best performances 2. Java Auto update option is to be disabled or unchecked 3.in Internet security sttings ...

0
голосов
1ответов
976 просмотров

Xcode: different build setting options for different configurations. Why?

In my Xcode project, I'm looking at the "Target Info" window, "Build" tab. In the list of compiler settings, for most of my configurations ("Release", "Distribution", and "Ad Hoc"), there's a settings section called "GCC 4.2 - Preprocessing". When I switch to my "Debug" configuration, that sectio...

1
голосов
2ответов
3259 просмотров

My.Settings.MyConnectionString works but app.config dont?

I'm not a WinForms developer, but have been doing ASP.NET for quite some time. I have to write something in VB.NET that just pushes some simple data to a database. So I created the VB.NET WinForms app (Visual Studio 2005). When I run the app it works fine for using: Dim conMyData As SqlConn...

0
голосов
2ответов
209 просмотров

Can you create an ASP.NET MVC website without the project?

Is it possible to create a MVC website without having to create a MVC web application via Visual Studio? Basically I just want it to be a simple website and not to have to recompile it in VS. I want to develop it as a 'Web Site' on a test server and connect with front page extensions in VS expres...

0
голосов
1ответов
192 просмотров

Why does Apache mod_perl build using APACI lose CFLAGS?

I am trying to build Apache 1.3.41 with mod_perl 1.31 for deployment to a Solaris 8 SPARC server. We must use 1.3 for now because of a number of essential applications currently deployed to a very large scale web site. I am using the new(er) APACI technique as described in the mod_perl install d...