server

svnant - parent dir in server is not a working copy.

I want to checkout project, get the revision number, build jar with that number in menifest, on the server with a web interface. There are some other minor steps in the whole process, but that's the main goal. everything in the build script is working fine locally, but I always get stuck when it is done on the server. when I try to use s...

Is my understanding correct about web APIs

Is it true that any REST based API to upload videos will always require you to have the video file on your server i.e. it is not possible to pass it directly to that web service? I am just trying to rule out all the possible APIs that are open to me. Anyone know of an API I can make use of to upload directly from the users machine so t...

State Server not saving session in clustered environment...

I am using Session State Server. My web application is not sticky. The application works fine on one box, but when the load-balancer switches to another box, the session seems to have lost the data. This happens intermittently. Any ideas? I have a similar application on the same boxes, that works fine with the same state server. Tha...

Windows Server 2003 User Logon Audit

Hi. How to find what all users have logged on my windows server 2003. What is the property/setting/service that should be enabled to log all the logons to my server. Is there a way to display an alert mail or message (a script or something) whenever a user logs on. Many thanks :) ...

Host Header Value Not Working Externally

This is a really strange issue. The host header value of myapplication.mywebsite.com works fine within the internal network. But when people from outside the network try accessing it, it routes people to the default web application in IIS. An A ref was definately made, and external pinging does show it is going to the right IP addresss. ...

What is the best server stack/configuration for Rails SaaS app

What would you suggest as the best server stack for a dedicated server which needs to host Rails SaaS application (not a lot of traffic but need to keep options open for future). ...

Database Results in Cocoa

Hi everyone. I am creating an application that has to interact with server data and then display the results from a database accordingly. I am writing the client side app in Cocoa. Example: A user logs on to a web application. They have some options for filing a web report. Choices: single line and multiple line. They can choose ho...

Losing session variables in a web farm using State Server...

I have four servers in a clustered non-sticky environment that is serviced by a single state server. I noticed that the app loses session when it hits a particular box 90% of the time, and 10% times on the other boxes. I observed the machine keys, and they are the same in all the boxes. I also checked the application path in IIS, they a...

What tools etc can be used to optimize a PHP web application running on an Windows 2003 IIS 6 server

What would you guys use to monitor an IIS server performance, detect and respond to errors etc, find bottlenecks, visualize CPU utilization under load, monitor PHP MySQL performance etc. cheers ...

Is there any C++ api available to know the OS description?

I am working tools that will be used on the multiple OS and platform. This tools will provide the details of the OS on which it is running, like 32 bit or 64 bit OS, exact version of Linux,Solaris,or other OS. One way I am thinking of using the "uname -a" command to extract the OS information on the Linus/Unix based OS. Please suggest m...

Understanding mod_proxy and Apache 2 for writing a comet-server

Hi folks, I currently try to implement a simple HTTP-server for some kind of comet-technique (long polling XHR-requests). As JavaScript is very strict about crossdomain requests I have a few questions: As I understood any apache worker is blocked while serving a request, so writing the "script" as a usual website would block the apach...

What are the effective ways to exchange files on different servers with Shell Script?

I want to update some file in a server, with an automated script and the target files on a different server. Haven't started yet, but I think there will be authorization and connection issues during the process. Any suggestion on how I could approach? Thank you ...

How can I stop images from being cached -OR- how can I check that a file exists on the server?

My site loads images based on names that are created for them. It loads images assuming that they're there when sometimes they're not. Every time it loads an image like this: <img src="/myimages/my-image.jpg" alt=""/> if it's not there on the server, it seems to cache that there wasn't an image there, so next time I load up the same i...

server resources in live video broadcast

I am starting a project that will include live video broadcasts from all over the world and it is expected to have at least 1000 users viewing those videos in real time. After looking around a bit i have decided to use RED5 to handle all the video streaming/recording, based on the fact that it is free and open source, but i am still ope...

ASP.NET: change link to static asset dynamically

Hi all, We are building a internal static asset server. Each environment (dev, staging, prod) has its own asset server, and the asset is reference throughout the web application (html, aspx, ascx, css, javascript, etc...) To reference the correct asset server in the correct environment, one solution is to write a http module to interc...

How to make a Java server HTTPS-ready?

I have a server written (self written - no Tomcat or Jetty) in Java and it works nicely, but now I want it to work with HTTPS as well, but I really don't get what I need to do. I've read some stuff online, but haven't really found a good explanation for what I need to do. Could anybody give me an useful hint (or a small outline) of what...

Flash AS3 - Access external swf on the same domain

Hi, I ran into this problem and could not solve it, so I have a swf file that loads assets from another swf file, everything's fine, until I put them on the server, they are under the same domain, relative path doesnt work nor does absolute path. This is not even a cross domain problem, since both files are on the same server. Did an...

Upload a potentially huge textfile to a plain WSGI-server in Python

I need to upload a potentially huge plain-text file to a very simple wsgi-app without eating up all available memory on the server. How do I accomplish that? I want to use standard python modules and avoid third-party modules if possible. ...

How to store file on server ASP.net

Ok so I am trying to have error log file for the website running on ASP.net and C#. I tried storing to drive with regular path. Expecting it because it is in c# code (code behind page) it will pick up the server and store it there. (In the end it is a code that gets executed on server) Unfortunatelly for me thats not true. It gets save...

domain redirect without changing url

Hi, I'm building a sitebuilder project. The database and all other ASP.NET code is ready but I don't know how to handle domain names, because I will have only one site in IIS7 but more than a hundred sites are gonna publish from my site. (Like the sitebuilder you can find on the internet.) When users go the page, ex: www.myname1.com, it ...