server

Can anybody explain the structure of the Apache server?

How does the Apache web server work? Can someone explain it in detail? ...

How to fix this virtual host setup?

Hello all, I have setup up 2 virtual hosts that share the same IP on a centos server running apache 2. #<VirtualHost *:80> # ServerAdmin [email protected] # DocumentRoot /www/docs/dummy-host.example.com # ServerName dummy-host.example.com # ErrorLog logs/dummy-host.example.com-error_log # CustomLog logs/du...

Taking a snapshot from the command prompt for Hyper-V 2008.

Background: I am using Hyper-V on Server 2008 to manage many virtual servers. I have scripts that have been built to make changes or apply updates to some or all of these virtual servers. Using the Hyper-V Manager, I am able to snapshot these virtual servers prior to doing an update, then roll back the changes if there is a problem. ...

Using Sheevaplug as a basic server to run tomcat and Mysql

I'm probably going to be doing an independent study in College next semester on Java web programming with technologies such as Spring and Hibernate. I'm looking for something that can sit in the corner of my dorm room with out being loud and drawing a lot of power. The machine needs to be able to run a very low traffic tomcat and Mysql s...

Server benchmarking: how many http requests can the server process?

I am creating an application which sends the measurement data every 200 ms from mobile phone to the server. The data have to be processed in real-time, but I noticed that the difference between the sent time and the time of process start is getting bigger and bigger so I have to find the point where the the requests get stuck. I am send...

Periodic Windows Server Based Processes

I have some custom programs I've written to do various maintenance/monitoring tasks that I run periodically (some every few minutes, some as little as once a day). Is it a better practice to run them out of the task scheduler, or to run them as a windows service (triggered by an embedded timer object)? ...

Can a webserver determine if its the active node of an HA failover system without hard coding anything on the server itself?

I can think of a few hacks using ping, the box name, and the HA shared name but I think that they are leading to data leakage. Should a box even know its part of an HA cluster or what that cluster name is? Is this more a function of DNS? Is there some API exposed for boxes to join an HA cluster and request the id of the currently act...

Outbound fax using c# or 3rd party library?

I'm developing a fax solution wherein the application sends out fax. I have been researching about how to handle cases where the other line is answered by a person (and not a fax handshake). How did you handle this case? ...

Did test server port change in Rails 2.3?

I upgraded rails to 2.3.2 from 2.1.1 yesterday and a bunch of my tests started failing. When I was running under 2.1.1, the test server was running on port 3000 so I had a HOST_DOMAIN variable that included the port - HOST_DOMAIN = "localhost.tst:3000". This is so my assert_redirected_to's would succeed. Now, however, it seems that th...

C++ socket server on Mac. Help!

Hey everyone. I'm planning on writing a socket server in C++ running on a Mac. I've been searching through a great portion of the internet without any results. Anyone knows where to start? Or even got a basic source code? Much appreciated. ...

http streaming

is http streaming possible without using any streaming servers? ...

Is NAS / SAN + HTTP server a good match?

Is NAS / SAN + HTTP server a good solution for serving large number of static files over the internet? ...

How do I run my own web server from home?

Hi, I thinking taking my website off of a shared hosting plan and hosting my own web server to save some $$$. I never hosted a website before and I’m very new to this. I’m using ASP.NET 3.5 and SQL Server 2005 Express. The laptop I will use as the web server runs on Windows XP, 1GB DDR SDRAM, a AMD Turion 64 mobile technology ML-30 / 1....

Should a web server's firewall block outbound HTTP traffic over port 80?

I understand the need for putting a web server in a DMZ and blocking inbound traffic to all ports except 80 and 443. I can also see why you should probably also block most outbound traffic in case the server is compromised. But is it necessary to block outbound HTTP traffic over port 80? If so, why? A lot of web applications these days ...

Get the cumulative bytes sent and received from a NIC

Is there any easy way (via a script perhaps) to get the cumulative bytes sent and received from a NIC on Windows 2008 Server? For example, the NIC currently shows around 18 MB of sent data and 765 MB of received data. Since my server provider does not provide an easy way to see the monthly bandwidth usage, getting the NIC data seems t...

What are some good examples or paradigms for Client and Server implementation in the same source file?

Sometimes for small projects, and even not so small ones, its nice to be able to keep server-side implementation and client-side implementations on the same source file to reduce maintenance overhead, and make it easier to quickly develop stuff. So I was wondering about good sources of documentation and frameworks that do this sort of t...

How long is the request queue on a Vista-system?

Hi all! I'm currently hacking on a new project, a web-app. But something's wrong, and I think it's Vistas fault, when I'm stress-testing the app, not all of the requests are answered. The only thing I can think of is that the queue of incomming requests is getting too long, I've googled around, but can't find out how long the queue is,...

Bulletproof Sessions for IIS Web Farm

Good afternoon, all. We're currently making the jump from one web server to two and in order to provide seamless failover to our users we need to do something about the session. Currently, we're investigating three different methods. Make use of a state server Make use of SQL server Chuck everything into hidden fields I, personally...

ASP.net Server controls: How to handle ID of dynamic controls

Hi, I have the following problem (I'll explain it simplified because otherwise it would get too complicated/long). I need to create an ASP.net server control that is inherited from Panel. Simple enough. When the custom control renders, it should dynamically create a Button, associate an event handler to it (which will also be defined i...

Server disconnects in Java

Related posts didn't answer my question. I have a server which does something like: EVERY TWO SECONDS DO: if the inputstream is not null { if inputStream.available() is 0 { return } print "handling input stream" handleTheInputStream(); } Even after my client disconnects, the server doesn't recog...