server

Installed Phusion Passenger on Server but apache2 didn't install in /etc/apache2/

Hey all, I am following instructions on how to deploy rails application on server. I did the following: sudo gem install passenger passenger-install-apache2-module Everything is successful so far. But next on instruction he uses: nano /etc/apache2/sites-enabled/000-default Problem is there is no apache2 directory in etc. Theref...

C# Server connection: possible memory leak. I need someone to help me find it.

Hi I think I have a memory leak in my code because every time someone connects/disconnect it doesn't free up the alloted memory so more and more memory keeps being added to the program when it isn't being used. Here's a stripped down version of the code that DOES compile; it simply accepts connections, but if you open up task manager yo...

PHP Socket and proc_open

I am trying to create a inetd-like service for Windows in PHP for future use with my other application. So all I can think of is to use Steam Server and proc_open to pipe the stream directly to the process (like inetd). Because on Windows there is no pcntl_fork(), and PHP doesn't support threading. So far, here is my code. The inetdtes...

unable to bind address [0]: php error .

unable to bind address [0]: Only one usage of each socket address (protocol/network address/port) is normally permitted.... error is given by my php server page. I tried different port numbers as looking from cmd as writing netstat -an. Also I searched on google but no solution. I am using wamp server and working local . Thanks . <?ph...

does anyone have any tips for Pingdom?

After copious recommendations i've just started using Pingdom, does anyone have any tips? ie. i recall someone mentioning something about tweaking to response-time to look for a specific node so that it gives the actual page load time? is this even possible? ...

StringBuffer doesn't append data - due to thread?

Hello, my target is it to collect data from clients which send data to an UDP server, concatenate the data in a string (just for testing now) and send the whole concatenated string back to the client. The communication between UDPClient and UDPServer works perfect. I can send data and receive it. But I wonder why I can't concatenate the...

Running Webrick server in background?

MBPro:shovell myname$ ruby script/server => Booting WEBrick => Rails 2.3.8 application starting on http://0.0.0.0:3000 => Call with -d to detach => Ctrl-C to shutdown server [2010-08-01 15:28:35] INFO WEBrick 1.3.1 [2010-08-01 15:28:35] INFO ruby 1.9.1 (2010-07-02) [i386-darwin10.4.0] [2010-08-01 15:28:35] INFO WEBrick::HTTPServer#sta...

Combining static HTML, a Django backend and a PHP forum on one server?

I have a project coming up for client who is basically happy with how he manages his website. It's lots of HTML files (around 300 of them) that he insists on keeping flat HTML files so can easily edit and manage them using Dreamweaver. His site has a lot of traffic and so I'm looking into options of keeping things simple for him. He does...

Public Apache2 Server

Hi, I wonder how to make my apache2 server public? I mean, I have a static ip and someone who knew that ip can access my website from out-world. I already install apache2. I test it from http://localhost, I mean its working. My OS is ubuntu by the way. Thanks ...

What purpose does a python backend serve?

I am primarily a PHP developer, and I have been browsing the source code of a few open-source applications recently(Mozilla Bespin in particular), to find that some of them use a Python "back-end." I was just wondering what the purpose of this back-end is. I am assuming it is the same thing as the model in an MVC framework and is used ...

Can I develop my own websites on my friend website server ?

If I buy a hosting (+ domain) service for the website of a friend of mine, and then I decide to use the remaining web space and mysql databases for my development and test... is google caching my development websites (in other folders and sub-urls) under his website ? What's the downside to develop on a server with already a productio...

Server architecture for a geosocial app?

I'm interested in getting some ideas and suggestions for a server architecture for a real time geosocial app. One that tracks at the very least user locations live. Are there any stacks that favour this kind of information? Java Servlets? Darkstar/RedDwarf? Others that I'm maybe not aware of? Live connections to clients and the abi...

Set cURL to use local virtual hosts

Using Apache or Ngnix I always create development sites based on real projects such as http://project1.loc which, after adding to my .hosts file, the browser has no problem using. However, when I attempt to make a cURL request (http://project1.loc/post.json) to that same URL I never get anything but a timeout. I'm assuming cURL doesn't ...

Utility to simulate simple http responses

I'm doing quite a lot of work with a javascript messaging system at the moment and end up making lots of use of netcat scripts to monitor and simulate as yet unimplemented server responses. Does anyone know of a utility that can easily manage this sort of thing for prototyping purposes other than setting up a full webserver? ...

Problem trying to display a .jpg image file on a web browser

Hi guys, I am currently using an eclipse ganymede IDE to write and compile my code. I want to import and display a .jpg picture on a java server page. The picture displays successfully when I compile my code and run it on my eclipse web browser, but, the picture is not displayed when I type the same url on Internet explorer address bar. ...

how to automatically and periodically upload a file from a windows machine to a unix server?

hi, i have 2 csv files on my windows machine that i want to transfer to a unix server every hour (because the 2 files are updated every 30min). so i search on the web and i found this possibility: to ftp the files from windows to unix using a batch and task scheduler. i want to know if it's possible to do it from the unix server with ...

how to set up iis mime settings for .mp4

i want to play mp4 videos on iis(v6.0) webserver, i have setting for extentions for .mp4, and also set up mime setting like this: ---- .mp4 ---- video/mp4 But can not play the file in quick time or flash players on my webpage... I also placed the below link in address bar but : cann't display page came.. http://www.mywebsite.com/folder...

Sun One Web Server Configuration

Our IT department controls the setup and configuration of our web server. Webserver: Sunone 61sp9 Java version number: 1.4.2 Web Module: 2.3 But developers are only given a folder such as /www/jsp/user/name I don't think it is properly setup for multiple developers to develop their own apps. There is no way that I know how to deploy...

Can I delete repositories from mercurial-server?

I made a repository as a test a while ago but I now want to create a different repository with the same name - is there a way to delete an existing repository using mercurial-server, and create another one with the same name? Or perhaps a way to overwrite the contents of a repository? ...

Object Oriented databases

Hello, This is the first time i am working with the object oriented databases.I was associated with the RDBMS for past few years. But now.. coming to this world of object oriented databaseS, I am kind of concerned about the aftermaths of the creation or design of the db. My concern is the population or Migration of this object oriente...