server

is it possible my threads are not being killed when the server is killed

A quartz scheduler is being used in an Application I am working on. A process that runs using the quartz scheduler spawns new threads. I was wondering if it is possible for these threads to continue living after the server is killed? ...

How the reading from and writing to sockets are synchronized?

We create a socket. On one side of the socket we have a "server" and on another side there is a "client". Both, the server and client, can write to and read from the socket. It is what i understand. I do not understand the following things: If a server reads from the socket, does it see in the socket only those stuff which was written ...

How to tell the parent that the thread is done in C++ using pthreads ?

Hi. I have a TCP Server application that serves each client in a new thread using POSIX Threads and C++. The server calls "listen" on its socket and when a client connects, it makes a new object of class Client. The new object runs in its own thread and processes the client's requests. When a client disconnects, i want some way to te...

It is possible to get mod_rewrite urlBase server param via php?

Could i get the apache mod_rewrite definition of urlbase via php scripting? ...

jQuery cannot retrieve data from localhost

I have a very simple bit of jQuery to retrieve my latest Tweet $.getJSON("http://twitter.com/statuses/user_timeline/username.json?count=1", function(data) { $("#tweet_text").html(data[0].text); }); This works fine on a simple HTML file on my desktop. However, once the file is accessed from my local...

ntlm tomecat module on linux? http://tomcatspnego.codeplex.com/

Any one has experience with this? http://tomcatspnego.codeplex.com/ ...

BASH apache to seek particular file name

i want to find every log file named 'justjoe_log', on an apache server. I want to delete them all. how do i do it ? ...

how to run SSH commands on remote system through java program?

Hi all, I am new to this kind of application and looking for some sample code how to connect to remote server using SSH , execute commands and get output back using java as programming language. Thanks in advance..... Regards, Devayani ...

Best IDE for javascript server development

After reading http://www.pragprog.com/magazines/2010-03/javascript-its-not-just-for-browsers-any-more im wondering which is the best IDE to develop server-side javascript applications? I want a nice development environment with commonjs and node etc. Preferebly windows but anything is interesting really. Is there any IDE with some nifty...

Any alternative web servers besides IIS for running ASP.Net 4?

Just wondering. I know Abyss will run ASP.Net 3.5 OK. ...

How do i serve shortcuts/.lnk from web servers?

without using a database i wanted a file to point to the newest revision of a file. Someone suggested using a shortcut. Knowing i can rewrite file.ext to file.ext.lnk i thought it was a great idea. Then i tried it, my server (VS 2010rc) serves the shortcut rather then the file. Not what i wanted... How do i serve the file the shortcut i...

Is there an easy way to verify that a server exists on a network with VBScript?

Hey, I have the eventual goal of determining that a particular database on a particular server with particular credentials is running, but I would settle, at this point, for the ability to check and see if a server is actually up on the network. Does anyone have a way of doing this? I seem to be drawing a blank. Michael ...

How can I print a web page on a server?

Suppose I develop a web page using the cool Google visualization API, and it does everything the user wants. They can the parameters, look at the graphs, and print the page to get a reasonable-looking report. All good. Now suppose I want to do the same thing server-side. For example, say we need a set of report generated at a specific t...

How to restrict file system when logged into terminal services: single login name

What I need to accomplish: With one login, when they are in the building I need them to see everything. When they are using terminal services with same login they should not be able to see the network. I can lock down the PC running terminal services as that is its only use. Details: Windows/2003 Server with terminal services. One l...

Are binary protocols dead?

It seemed like there use to be way more binary protocols because of the very slow internet speeds of the time (dialup). I've been seeing everything being replaced by HTTP and SOAP/REST/XML. Why is this? Are binary protocols really dead or are they just less popular? Why would they be dead or less popular? ...

encrypt apache and mysql servers

I have a question about encrypting disks. I have 2 servers: 1 is apache for web/frontend and it talks to server 2 which is mysql. They are all for intranet only; no external access. I was looking into using PGP or GnuPG to encrypt the disks. I'm not clear, though, as to exactly how this would work. Where would the keys be stored? On t...

How do I consume an ADO.NET Entity model or LINQ query in a custom ASP.NET Server Control

Dear All, I have written a fairly complicated ASP.NET server control that can bind to various data sources such as the SqlDataSource, XmlDataSource and DataTables I would like to extend it to bind to a user supplied Linq query or ADO.NET Entity model in a manner similar to the GridView How do I begin to do this? I've searched around ...

Limit Recursion Error / Rewrite Log file

I am getting an error from a probable infinite loop on my server. My set-up is an Apache2 server with all sites set-up using the Virtual Host method. Problem: Request exceeded the limit of 10 internal redirects due to probable configuration error. Use 'LimitInternalRecursion' to increase the limit if necessary. Use 'LogLevel debug' to ...

How disabling FrontPage Server Extensions 2002 (IIS 6.0) will affect my web applications ?

in other words, what happens when I enable/disable FrontPage Server Extensions 2002 ? knowing that I have asp.net web apps using .NET framework 1.1 and 2.0 thanks in advance ...

Returning content directly from memcache - Django / HTTP Server

Hi folks, I've built a web application with Django, I'm using Memcached in order to cache data. A few views cache the whole HttpResponse objects, therefore there might be a better alternative for returning the Memcached data other than going through Django. What could be faster alternatives for returning Memcached data on HTTP Request...