server

Do Subversion client/server versions need to be the same or close to each other?

This seems like a basic question, but I haven't found any clear answers. Essentially, we have a subversion 1.4 server with 1.5 clients. What I'd like to know is if we want to use some of the 1.5 features like branch/merge tracking, does the server need to be at least 1.5 also? I have read that 1.5 clients will sometimes auto-upgrade t...

Ruby server provisioning tool

I'm looking for a server provisioning tool, hopefully in Ruby, that fits in the gap between tools like Kickstart and tools like Chef. I need something that can connect over SSH and set up users, keys, install tools, etc. Something that can go from an empty OS to a working Chef instance, at least. I've been experimenting with mass.pl (...

(Rails) Reloading "lib" files without having to restart server...?

Hi All, Is there any way in Rails to have the ENV reload "lib" files without having to restart the server? I'm working with some classes that I have inside a module in "lib". However, in order to see my changes I must restart the server each time. I'm guessing this is the way Rails is intended to work, but it is quite tedious when de...

Trying to use PHP imap_open() with diff. linux interface(eth0:1, eth0:2). Any ideas?

Hey guys I am trying to use imap_open() with different linux interfaces but I can't find a possible solution. Nginx seems to have a module (http://wiki.nginx.org/NginxMailCoreModule) for mail servers but I am on Apache + PHP. cURL has something similar: curl_setopt($ch, CURLOPT_INTERFACE, "eth0:1") but can't find anything for PHP imap...

How do I use Capistrano with a server that is behind a firewall?

Hi All, I have a bit of a situation. I've consumed about fourty-eleven different tutorials/books/videos on Capistrano, and none of them touch on out-of-the-norm cases. They all assume straightforward setups -- which, in my experience, is rarely the case. Basically my situation is as follows: 1) I am developing the application on a s...

Refusing connection from a host

I'm writing a simple tcp server application using sockets. As far as I know I can obtain the client's ip address and port after calling accept(). Now lets assume I have a banlist and I want to ban some ip addresses from my server. Is there a better way than accepting the connection and then dropping it? Is there a way to get the clien...

Javascript for a form on the server-side?

*The question emerges from the discussion with Christoph in my last question 'HTML: target=”blank” for a drop-down list' and the alternative method by Andrew. Problem: to run code server-side because some users lack Javascript support. The situation is a form like here. Some suggestions: Christoph's recommendation: <form action="path...

Running Python code from a server?

Problem: to run one.py from a server. Error When I try to do it in Mac, I get errors: $python http://cs.edu.com/u/user/TEST/one.py ~ /Library/Frameworks/Python.framework/Versions/2.5/Resources/Python.app/Contents/MacOS/Python: can't open file 'http://cs.edu.com/u/user/TEST/one.py': [Errno 2] No such file or dire...

ASP.Net Strange Guids

An ASP.Net application we have recently developed is creating what I believe to be non standard Guids. The Guids are being created using the .Net framework method Guid.NewGuid(). Here are some examples of the guids created: 00000000-0000-0000-210f-0160000000f6 00000000-0000-0000-c02b-0160030000fc 00000000-0000-0000-ca2b-0160030000fc 000...

How can I mock a web server in Perl?

Our web application works together with several web-services which we can't influence. After each workflow (tested with Selenium) a hook call to a web-service occurs. I would like to mock that server. Ideally, I want a HTTP server object which I can start and kill at will, and an URL dispatcher which would call certain subroutines in my ...

Performance issue with site speed 'w3p.exe’ process –reaches 99/100%

My site goes slow and stops access certain services externally if we check the Process monitor we see that it is normally due to the ‘w3p.exe’ process – which is the background process for running the website – it regularly reaches 99/100% - killing the process/restarting the WebPublishing service reolves tis – my webhost says this can o...

Reading domino server' mailbox using C#

Hi Friends, I am making an application which will retrieve all mailboxes from Domino Server. And Display them in List. After that i want to extract( display) emails of each mailbox into another list. eg: Consider example of outlook.When we click on particular pst folder. all mails in selected folder get displayed. Kindly send me code...

PPTP VPN - users cannot access internet via the server

Hi. I have set up a pptp vpn on windows xp, and added the users. The vpn users can connect to the server, but once they are connected they can't access the internet via the vpn server which should act like a proxy. That's my basic task - to make a vpn server serve as a proxy for the users. Can someone explain why the users are not abl...

asp.net website - should string manipulation happen on server or client?

I have a design question. I have a website where users enter short messages and they are displayed to other users. Sometimes these messages have formatting in them so I need to manipulate strings. I can do this either on the server or on the client. My question is where should it occur? If it happens on the server then there's more of ...

Want to get into the linux web dev world, book recomendations for o/s and apache primers.

Want to get into the linux web dev world, looking for book recomendations for o/s and apache primers. Something that steps me into the concepts slowly... ...

Does anyone know where I could get free GPS data on certain types of locations for any country

I am currently building a web application server which essential would allow a client application to send it's current location and query on the server for the closet locations of a certain location type, examples of location types would be nearest payphone, nearest restaurant or nearest gas station. Does anyone know where I could get ...

Java Chat Server

I am writing a java based chat server and currently my design is based on following :- when a person in a chat room sends a message, the chatroom class at the server side, sends the same message to every participant in the room in a loop. Obviously , this is a poor design because networks calls are being made to individual participants i...

Installshiled installation Across Servers?

Is it possible to install across servers using installshield? For example : If I run the install shield from webserver to install a website and will it be possible to connect to appserver to install services in appserver? ...

How expand size virtual disk in virtual server 2005?

Hi, I'm using Virtual Server 2005 and working with a virtual hard disk 16GB. I need expand this virtual disk to 20GB. Thanks. Beatriz ...

Code to monitor server for new files

Anybody have some code to monitor a windows server and notify me when a new file has been copied to it. Thanks, Paul ...