server

.NET Library for Client/Server application ?

Hi, I have a plan to write a small "Network manager" for my company using C#. It like a chat application. Please see example bellow: Ex: Client(C) is manager, Server(S) C: send string "is_process_running x.exe" (check x.exe is running on server pc) S: check and send to C: "x.exe is running\nPath: 'C:\\windows\system32\x.exe'" C: "kill...

How to edit httpd.conf for www aliasing?

How do I setup Apache, editing the httpd.conf file I think, to properly alias www so my server directs the right way? ...

C++ simple asynchronous server library

Hi, Is there any c++ library that helps implementing a simple and efficient HTTP server able to handle a very large number of concurrent connections? I'd need something very similar to python's tornado, but for c++ Thanks ...

how to check up/down status of oracle reports server?

To check the status of database servers, I use tnsping utility. Is there any similar utility for checking reports server? Thanks. ...

Flex - After upgrading Ubuntu OS, I am getting "Channel Disconnected" error

I wasn't sure if this question would go better here or at superuser, since it kinda crosses between the two. I have a Flex web app with a PHP service, using ZendFramework. The app works fine on Ubuntu 9.04 Server. No errors at all, behaves exactly as expected. If I install Ubuntu 10.04 Server, I suddenly start getting a "Channel discon...

Selective Forbidden error

Hi, I am experiencing a weird problem. I have a contact form written in php, in several computers the page works without any problems, but in two specific computers, as i send the form i get a 403 error. even weirder is, if the form isn't filled correctly, it doesn't give me the 403. I gave every folder and file that might be related...

Temporary ASP.NET directory: Which folder for which website?

Hi there! We have a multi-use web server that has a bunch of separate web applications hosted on the same server (IIS6, Windows 2K3). Now, I'd like to clear the contents of the temporary asp.net files for a certain web application, however, how do we find out which directory in the temporary asp.net files maps to the appropriate websi...

Can HttpReceiveHttpRequest receive a HTTP_DATA_CHUNK of type other than HttpDataChunkFromMemory

We can receive a HTTP request body in two ways: call HttpReceiveHttpRequest with HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY set; call HttpReceiveHttpRequest with HTTP_RECEIVE_REQUEST_FLAG_COPY_BODY cleared and then call HttpReceiveRequestEntityBody. In the first case an array of HTTP_DATA_CHUNKs is filled, in the second - the raw bytes buff...

Why PHP function `curl_exec ` should be disabled?

As you know there's some php functions to be disabled on shared hosting environments. Searching the Google, I found many lists of these functions. one of these functions is curl_exec, I can't understand why this function should be disabled? How this function could be vulnerable? ...

Server calls happening twice

I am using ruby on rails at back & javascript on front end to communicate. I am using $.post() / $.getJSON & both of these calls are happening twice ! I am seeing logs of two different calls in server & if I print something in callback function , its printed twice as well. I am pretty sure its nothing due to my code as even simplistic r...

Qr code generation on the server in java gwt

Hello! I need to develop web app that will return qr code(or link to qr code) to mobile clients. I plan to learn the basics of GWT because i alredy know java programming. Is it possible to use zxing libraries or some other java libraries with GWT, so generating (encoding) QR codes could be done with a few lines of code? Or do you sugge...

Validating data received in a non blocking server

I am building a non blocking server using javas NIO package, and have a couple questions about validating received data. I have noticed that when i call read on a socket channel, it will attempt to fill the byte buffer that it is reading to (as per the documentation). When i send 10 bytes to the server from the client, the server will r...

Transfer all new e-mails to a database

I am using postfix for my linux mail server. The goal is to have any incoming mail dumped into a database with the headers and message information, then the e-mail being deleted from the mail server. Is there any way to make postfix post a message to a php file everytime a new e-mail comes in then delete the e-mail message? The only othe...

How to best server >10,000 iPhone clients from server (not web server)

I'm trying to build a server that will handle many concurrent connections to iPhone clients without multi-threading. I will be sending messages to all clients approximately every 10-30 seconds, but most messages will be identical or very similar and easy to sort. Given the setup of high-concurrency but low need for data sorting, I am t...

stream_socket_server: Client browser randomly aborting?

Below is partial code to an experimental http server app I'm building from scratch from a PHP CLI script (Why? Because I have too much time on my hands). The example below more closely matches PHP's manual page on this function. The problem I'm getting is when connecting to this server app via a browser (Firefox or IE8 from two separat...

Problem running Rails/Passenger app on slice that also serves static html sites

I'm running a Rails app on an ubuntu hardy box with passenger. I also have a couple basic html sites running on the same box. My problem is that the apache vhost set up for the html sites seems to be blocking my Rails app from resolving at the proper url. I have a number of Rails apps running on different slices using passenger, so I ...

How to sync two or more Mercurial servers?

I want to keep Mercurial servers at four different locations, and want them to be identical at any given time. Meaning, any change to any of them must be propagated to all other servers. How to do that? ...

Failed to load asmx file?

I am using the gleamtech filevistacontrol for a back-end of a website. When i load the page which contains the control i get an error that a language file could not be found. I get an 404 response when calling the webservice. The application is running on a windows server 2008. On my development machine the application is running witho...

how to test file server plugin on Symbian emulator?

I am developing a simple file server plugin that intercepts requests. I want to test it. Because of the TCB capabilities I can't put it on a real device. How can I test it on Symbian^3 emulator? I am new to platform developments. I need help. ...

php include() from server root?

I'm deploying from my WAMP testing environment to an online test... Locally I had my include paths something like this: include('C/wamp/www...') how do i find the equivalent path on my server? i've tried using '/' to get to the root but i get this error: Warning: require_once(/test123/mvc/views/txt/index_nav_txt.php) [functi...