server

Python Server Help

I have written a small HTTP server and everything is working fine locally, but I am not able to connect to the server from any other computer, including other computers on the network. I'm not sure if it is a server problem, or if I just need to make some adjustments to Windows. I turned the firewall off, so that can't be the probelm. I...

Serving json documents directly from couchdb

Hi, I'm wondering if serving documents from couchDB directly is an actual typical real world scenario, or if most people use it inside server code (as with traditional databases) and then serve from there ? I find couchDB pretty interesting but wonder how to integrate the database access with normal web scenarios.. there isn't so much...

boost::asio async_accept Refuse a connection

Hello, My application have an asio server socket that must accept connections from a defined List of IPs. This filter must be done by the application, (not by the system), because it can change at any time (i must be able to update this list at any time) The client must receive an acces_denied error. I suppose when the handle_accept ...

An open source version of 1st SMTP Server?

I am looking for something like 1st SMTP Server but open source, I have searches a lot of sources but all I found are samples about a server to receive/store msgs (but not send) or how to connect to a external server not how to turn your pc into one. I am looking for a sample in any of the ms visual studio languages or delphi. ...

Choosing between a dedicated and virtual dedicated server for my startup

Hey guys, I'm about to launch a startup site I've been working on for some time, and I'm just now looking over hosting plans. The site's main feature is fairly processor-heavy (alot of text processing), so I probably need something other then shared hosting to ensure I don't get shut down for overusing resources. I would like to spend ...

Team Password/Login Manager

I have been doing some searching around trying to find some software, preferably for ubuntu, that can provide a secure store for the various logins and passwords that our team has for our servers and services. I have found a lot of personal password managers, but I am looking more for something that members of our team can log into, usi...

Heroku takes care of multiple database servers?

When my user base grows, does Heroku take care of setting up multiple database servers for my Rails app or do I have to configure it manually somehow? In other words, does Heroku scale well and correctly (replicate servers) when needed? ...

Is it possible to tell whether an application has disabled nagles algorithm?

Given a binary application running on linux PC. Is it possible to determine if it disables the Nagle's algorithm. One way could be to see the output in wireshark and depending on the time differences. Could you please tell me a reliable way of finding it out from the wireshark output? Is there a more direct way? Can I trace the system c...

Rails 3 server encountered an internal error or misconfiguration

I have just setup a Rails application on Bluehost. Everything appeared to have gone smoothly, however, when I visit the home page and click on the 'About your application’s environmet' link I get the below error. I followed the following tutorials: Bluehost: helpdesk.bluehost.com/index.php/kb/article/000207 RailsGuides: edgeguides.ru...

Publish problem in Websphere Portal 6.1 server on WAS 7 in RAD 7.5

I use Websphere Portal 6.1 server on WAS 7 in RAD 7.5 for my web application development. When ever i do change in Java/JSP files i need to publish. Without publishing(Right Click on server and select "Publish"), changes are not reflecting. I have checked with my friends whom have same server settings as mine, but for them its not requir...

Servers and threading models

Hi, I am troubled with the following concept: Most books/docs describe how robust servers are multithreaded and that the most common approach is to start a new thread to serve each new client. E.g. a thread is dedicated to each new connection. But how is this actually implemented in big systems? If we have a server that accepts requests...

How to run the program regularly?

Hi, everyone, I want to ask a question about the iPhone application. I am writing a program which can upload some information to a server. However, the user has to click a button before the upload. Therefore, is it possible for the application to upload the data to server regularly after the user only click one time of the button? It m...

(Java) A Client reading text from 2 servers in parallel. How to implement?

Hi guys, Quite new here I am, I want to implement the scenario where a client reads data (Line) from 2 servers at the same time in parallel. I have been looking at examples over the net but nearly all the cases refer to multiple clients and a single server. The client after receiving the lines which consists of strings in parallel from...

how do you install memcache into your server?

sorry im a newbie, i dont know if i am asking the right question, i just wanted to optimise my sites perfomance!! thanks in advance ...

COM Server hang- detection and resolution

I have an application that sends requests to an out of proc COM server whom handles the requests and sends them back to the requesting application. The client application is really in control of the start-stop of this Out-of-Proc COM server and determines its lifetime so to say. Because this application has many hundreds of requests ...

change default user of webserver for special directories

for example, if i'm using a php script that writes files, or using a cms , the files and folders that are generated are owned by a special user (f.e. www-data:www-data) is it possible to change this default user for special directories? so that for example all cms systems or php scripts in general use another user and group in the dir /...

$_SERVER vartiables are dropped on my hosting running CGI

The variables $_SERVER['PHP_AUTH_USER'] and $_SERVER['PHP_AUTH_PW'] are returned as empty because of the setup my hosting has (Running on a CGI interface). Is there any work around to get them to work as I need to use them for auth. I can't move hosting or change the interface. I am sending auth requests via curl to a url /api/projects/...

Java Runtime.exec running java problem

Hi, I have a simple server application, which I would like to run in the background. The following line works for me: Runtime.getRuntime().exec("cmd /c start java -jar ..\\server\\server.jar -Dlog4j.configuration=file:src\\test\\resources\\log4j.properties -filename src\\test\\resources\\server.properties"); But it displays the cmd wi...

embedded Tomcat 6 - shut down after start

Hi, I wanna use an embedded Tomcat V6. The code works perfectly, but only as long as the programm is running. So if there is no Thread.Sleep it will exit immediately, otherwiese keep on running till the time is up. How can I keep the emmbedded Tomcat alive. setAwait(true) should deal with this, shouldn't it? But i does not work. Tried ...

Curl to internal folder not working wth CGI interface

I am using a server with CGI interface and trying to get a script on there to use curl to get data from an api in another directory like so: website/admin/pages/ -has a curl script that calls website/api/pages/ This fails. I don't even get a response shown in the curlinfo that should give a header. It just has a 0 for header and not a...