server

OpenLDAP configuration error ldap_bind: Invalid credentials (49)

I'm using Ubuntu 10.4 server and I'm trying to configure OpenLDAP as a protocol for authentication for SVN and other services. However I quite don't understand how ldap works and after setting a example config I tried to populate it without success. This is the error: ldap_bind: Invalid credentials (49) It seems to be example config p...

Recover Index File + Overwrite or Hacked by SomeOne + Linux Server

Some body overwrites my index file of every folder at linux server. Is it possible to recover all the files from server to make website in running state. ...

Append-only server performance

Hi, I'm building a small web server for learning purposes. For each incoming POST request I'm planning to append the content to a file. I'm using ZeroMQ sockets for communicating with the file-append process. Do I need to take special care with the file operations (fopen, fseek)? Considering a typical Amazon EC2 instance and that eac...

how to test django registration app process while in development server (no mail)

I am developing a django application on my MAC. The development server that comes with django is great. However, I installed the django-authopenid (combines django-registration app with openID) which follows the 3 step process: user signs up, app sends a confirmation email with link, and user clicks on link to confirm sign-up. Since ...

Java NIO Framework stops working under heavy load with no write

The problem is fairly odd to me although I'm a newbie. Whats going on is that if you force the server under heavy load of connections and keep sending a invalid packet that doesn't represent POLICY_XML packet. Pretty much what I'm trying to say is that if you connect it goes into socket READ OPERATION. Then you never go into send() wh...

common code integration in mac network

Hi to all, I am new to mac network environment. I working in a team, each time the code has to be get and integrated in single place. Is there any possibility to have common code integration software in the mac server for auto integration Regards, sathish ...

Output caching a custom control (server control)

Hi, I've come across hints about output caching a server control, but have yet to find a definitive answer to: Can the output of a server control be cached (in the same way that user controls are cached)? The suggestions I've come across involve caching the data (not true output caching), or suggest setting the response.cache options. ...

Understanding how images are served and cached

So I'm wondering how browsers treat requests for images. I'm hoping to use a cdn for serving product images on my website. I'd also like to use the cdn for serving button images and images used in my css. The problem with this is that I don't have control over the expires headers (Rackspace files is what I'm looking into). See, say I h...

How can I force Rails (2.3.x) MemCacheStore to read a value from the server?

Long story short: I have some controller logic that requests a value from the cache X times, expecting to get a different value on subsequent requests if it has in fact changed on the cache server in between cache requests (this is all within the context of a single HTTP request). However it seems that Rails MemCacheStore wraps itself w...

Mac server in order to compile obj-c projects?

Is it possible to write an obj-C code with any text editor and then upload it to Mac server to compile it using Xcode?? I know that it is possible to compile your project using Xcode without open it something like use some command lines, but I am not sure is it possible to make it a server and then upload any obj-c code! ...

Unix command to remove whitespace in the first few lines

I'm using this unix command(in a php file) to remove a certain string and then remove the whitespace left by that string. Unfortunately in many cases, the files get completely erased. Is there a workaround? <?php $dir = "./"; $rmcode = `find $dir -name "*.php" -type f |xargs sed -i 'somestring' 2>&1`; echo "String removed.<br />\n"...

TCP protocol : Host goes temporarily unavailable

Say our client is sending the packets at a constant rate. Now, if server goes down temporarily there can be two situations (We are using the TCP protocol) 1) The packet won't be delivered to the server. Consequently, the other packets in the line have to wait for the server to respond. And the communication can be carried out from ther...

My client queries my server. If the response is negative (e.g. error) how should I communicate it?

Should I rely on http status codes? Or should I use some kind of special response? My server is running PHP and producing simple JSON responses. ...

How to create a server in Ruby (like rails server or gem server)?

A lot of ruby frameworks implement a server to serve up dynamic html documents. I am looking to create my own server so that I can serve up my own local rdoc documentation. How does one create a server in ruby like rails server or gem server? Can somebody give me a start or point me to some documentation on how to do this? Thanks ...

vServer Location

Hi, in my chrome browser I use a plugin that shows me the following informations for every website I visit: Geo Information Google PageRank1. Alexa Rang Google Trends McAfee SiteAdvisor WOT Information I have a vServer and sometimes the geo inforamtion of my site changes. Is it because of the vServer? ...

How to estimate which server I need for my process?

I built a (set of) program(s) that communicates with another database server. The program both reads and writes large amounts of data. I would like to be able to test which hardware specifications are needed to keep the program running smoothly. Other applications that make use of the other database server must respond smoothly as well...

How to use server path to access a file for attachment

I am trying to access a file on another server from my application. Out of application, I am able to access the files from windows explorer, but when I am using the same path in my application, I am getting the error "Could not find a part of the path F:\Unknown\ABC\DEF\MNO\Fren.jpg". My code goes here.. String FilePath; FilePath = ...

why webservers use port 80 for real applications?

Hello, Just curious. When developing with Casini development server, one has an infinite number of ports. But, the production servers seem to give a particular importance to port 80. Has that to do with a technical requirement, a convention, or both? I've checked the web but haven't been able to find a clear response so far. Thanks f...

Best Database selection for Client/Server Application (Multiuser) with Delphi?

Hi all, i want to code a software with Delphi XE, that will be able to connect to a server and users should be able to read/write the database. All records will be string (unicode enabled), maybe small amount of it can be blob. My needs are; Multiple users enabled More than one user should be able add new records at one time Capable of...

git or svn for web server?

What's better to put on a web server? I'm new to Revision Control so I wouldn't know. Also this project exists already but I would like to implement some revision control on it and put it on a web server because there are multiple people that work on the code and multiple computers. Thanks! ...