server

Web server: returning a web page + file attachment

If you visit the following URL in a web browser: http://sourceforge.net/projects/jpype/files/JPype/0.5.4/JPype-0.5.4.1.zip/download it will show you a web page, and at the same time will send you a file attachment to download. How they do this? One possibility would be that the web page had a redirection with javascript, and the browse...

Application Client Agent Design

I need to create a small app which will run on my client machines as "agent" which will periodically check in with a server for certain tasks. Do I Create the app as a windows service with an interface for configurations? Create an app which will run in system tray, with an interface for configuration? Many moons ago I read that wi...

Grails custom server page (custom gsp)

I have a controller and a gsp. I go ahead and attempt to build the project but receive issues on my gsp. It is telling me "The current scope already contains a variable of the name it" <html> <head> <title>Book Collector</title> <meta name="layout" content="main" /> </head> <body> <h1>Book Editor</h1> <table> ...

How do I properly shut down an IOCP server?

I can find tonnes of article's about starting up an IOCP server, but none about properly shutting it down =/ What is the proper way to shut the server down when you are done? more specifically, I already use PostQueuedCompletionStatus() to tell the worker threads to quit, but don't I also need to cancel all the pending IO, and close all...

How to fix?: Server in Eclipse suddenly requires jars in server's launch classpath.

I have a web project built in eclipse using Spring and for Tomcat. Before some recent changes that I either cannot remember or undo, I could simply start the server in the ide and hit my servlets without issue. After making those changes, when I started the server, I got the stacktrace as follows. SEVERE: Error configuring application...

Problem with own TCPServer

Hello. I have written a TCP server. Then I am trying to connect to my server used Telnet (telnet localhost 2200). Problem: telnet write bad text - like this: ? ?????... static void Main(string[] args) { ASCIIEncoding encoding = new ASCIIEncoding(); //UnicodeEncoding encoding = new UnicodeEncoding(); Byte[] m...

Anyone know of an open source RTP Server?

I specifically want to be able to stream Video. With the Server preferably implemented in Java, Python or Erlang? ...

HTTP Server invalid request/connection throttling

I have a custom HTTP server. When F5 is held down in a browser the server gets slammed with requests. How can I detect and limit these (or any other) invalid connections? It seems that I would have to record, for each incoming IP, the length of time between each request and whether or not the request was valid. If a certain number of...

How can I connect to a TCP server using Silverlight?

I'm learning silverlight programming as well as networking and I was using this tutorial: http://www.switchonthecode.com/tutorials/csharp-tutorial-simple-threaded-tcp-server However in it it says to connect to a server you must create an instance of TcpClient, in my server side code which uses the forms application I have access to TcpC...

Getting the application server status on Windows 7 Ultimate does not work

I want to find out if an application server is running or not on a remote computer. I do this with the following code: Socket localSocket = null; try { localSocket = new Socket( serverName, serverPort ); localSocket.close(); return ServerStatus.UP; } catch ( IOException e ) { ...

how to install ffmpeg in cpanel

I heard that most probably cpanel server dont have ffmpeg preconfigured in it. Can you explain a way to install it in cpanel. Please if you can guide me through the installtion of ffmpeg in cpanel server in step by step process. Can anyone please also give me links of other servers which have ffmpeg preconfigured and set to run. ...

Subversion: Configure svn access through http protocol

Hello everyone, I got a ubuntu server edition with subversion, apache2, openssh and need repositories for svn connection with/without any protocol (ssh, file:, http, https, etc). I configured a repository directory svnadmin create /path/to/repos/project Made an import svn import /path/to/import/directory svn+ssh://user@ipaddress/pat...

PHP5, SQL database and web host server

what configurations can make differ between a local host server like phpMyadmin and a web hosting server is it possible or convenient if a laptop [instead a desktop computer] is converted into a serverHost is there a php script provided for an automatic backup or sync of files in a web-based application, which is better? running the co...

categorize website based on visitors count.

my site is having around 300 unique visits/5000 pageviews per day. i want to know how many unique visits/page views (approx.) a site should have to be called low , moderate and high traffic website. also how can i test strength of my website, like how many requests my website can process simultaneously. http://loadimpact.com/ -- iam l...

How to get the URL's hash/anchor part on server?

My website uses asual address plugin for implementing hash based URLs. I want to implement follwoing feature which facebook and twitter have successfully implemented. Say I am not logged into twitter and click on the below link http://twitter.com/#favorites It will take me to login page(note the /favorites in querystring) http://twitt...

what approach to use instead of server side Office automation for importing tasks from MSProject

I have to open up MSProject file from a different Sharepoint site and ensure that all the tasks are read from the file and bound to ASP.NET Grid. I have used the office Interop assemblies and have encountered some errors. I also came to know that Microsoft doesn't support server side office automation. Is there any recommended way of ...

jquery datepicker sending date not as a string using .serialize()

When I am sending my date using .serialize() it is sending as an string not exact date format ...is there a way I can send it as 09/01/2010... not as a string ...

Best hardware to buy for a small startup web php/mysql web development team?

Hi all, we are given some funds to renew our IT infraestructure (about 20000$). We are a small team of 5 coders, working primarily with Ubuntu / PHP-Drupal / MySQL. One of the first things we want to buy is a brand new server with lots of gigs or ram (64 at least) to allocate all the local databases, svn repos, shared directories, etc....

Live streaming webcam on a web page (most efficient solution)

For a quick project I'll be working on, I have to install a multi-webcam setup that will be live streamed and accessible via a web browser. I'm looking into the quickest and most efficient solution, the less time and hassle it takes to implement, the better. That means buying hardware and/or software is not that much of an issue (as lon...

Time of Day Lockout By User Proxy Server Router

I currently have the Astaro Security Gateway ISO loaded on a beige box and it does what I want: Blocks direct access to the Internet making it's proxy server (with authentication) the only path to the Internet. Then, each user is subject to a different set of rules, for instance don't allow user "A" to connect after 11pm on a school nig...