webserver

'undefined symbol: SSL_get_servername' message when starting Apache Web Server

Hi: I installed httpd-2.2.16 and openssl-1.0.0 on Red Hat Linux 5: when starting the Apache a 'undefined symbol: SSL_get_servername' message is generated on the command line. Listed below are the parameters used for the Apache installation (section A) and the generated error message when Apache is started (SECTION B). Can anyone point...

PHP / Apache - Refreshing screen while exec'd script is running

Hello, One page on my web site is a PHP script that uses exec() to launch a separate PHP script which generates a PDF document. The PDF may take 30 seconds to generate. When I hit the refresh button during this process, I am finding inconsistent behavior. On both my Mac and Windows local dev machines, refreshing the page will hang Ap...

Nginix directing to a host called "_"

I have nginx all set up for my needs... it's a wildcard directory based hosting setup. My issue is that when a url is given without an extension or trailing slash, nginx redirects it to a host called "_" with the rest of the URL intact. What can I do to make nginx properly redirect the urls without trailing slashes? ...

Is there a proper way to run the same WordPress installation on more than one hostname?

It seems to be a 'feature' of WordPress that it's designed to run on one, and only one host name. The 'siteurl' and 'home' parameters are hardwired into the database options table, so if you hit the site on non-matching hostname you get redirected by PHP to the correct hostname. Even more irritatingly, the siteurl is prefixed to all int...

Weird behavior: TcpListener

So, for a bit of background : This class is created to accept and respond to calls made remotely in an HTTP format. The problem is when the method of the request is POST, sometimes the request is processed correctly, but most of the times the class just ends up being irresponsive. Also, the line "Debug1" and "Debug2" are never written t...

How to live stream from iphone to webserver?

Hi, I want to stream live data from iphone camera to webserver, I know this can be done using ffmpeg, I tried to modify the iFrameExtractor sample code, but not yet produced any results. I am looking for some sample code or any help. I am repeating again "live streaming from iphone to webserver". Please drop a line if anybody knows how...

how can i configure nginx to drop requests on certain conditions?

how can i configure nginx to drop requests if it has photos-X-ak.fbcdn.net in the url.. and requests for a gif image ...

Pros and Cons of Keep-Alive from Web Server Side

Keep-Alive connection feature in HTTP protocol is meant to reduce TCP connection hits to web server. It should be able to improve web server performance. However, I found that some web servers deliberately disable KeepAlive feature from server side. In my understanding, some reverse proxy, i.e. HAProxy, disables HTTP keep-alive in orde...

Installing NodeJS on windows machine ?

Hello, How do I Install NodeJS on my windows Machine ?? I Searched All the available blogs for info, I found none of them are useful. so Is it possible for me to install Nodejs on my windows machine. If the answer is yes can anyone please explain the procedure. BTW I'm using windows XP ...

How to get IP address of server in .Net?

How do you get the IP address of the web/application server in .Net? Not the client IP address, but the server. Just found something about Server Variables Here ...

Automatically delete files from webserver

Hi, I need to delete files from a directory in my web-server and I need some script to do it automatic. And there is few more conditions which need to be fulfilled. It has to clean the directory then total file size exceeds some certain limit for example 1,5GB That files would be deleted every 24 hours. New files like 10 ir 20 mins ol...

What is the different between the web server and CalDav server?

Hi, everyone, I want to ask some basic knowledge of server. 1) What is the different between the web server and the CalDav server? 2) How to set the web server and CalDav server? 3) If I send a request to CalDav server ( I assume that I have the URL of the server), will the response header contains the data within the CalDav server...

ASP.NET Development Server - is the source available?

I remember several years back it was called Cassini and the source was available for download. Is this no longer the case? Either my Google skills are lacking or I can't seem to find the source code for it anywhere. ...

boa webserver, sh script

I have here embedded device with linux. There is a webserver boa. http://www.boa.org/ I am trying to start sh cgi script. #!/bin/sh echo "Content-type: text/html\n" echo "Hello world !" ./script.cgi works, but in webbrowser I get 502 Bad Gateway The CGI was not CGI/1.1 compliant. Can anyone help me? ...

Semicolon as URL query separator

Although it is strongly recommended (W3C source, via Wikipedia) for web servers to support semicolon as a separator of URL query items (in addition to ampersand), it does not seem to be generally followed. For example, compare         http://www.google.com/search?q=nemo&oe=utf-8         http://www.google.com/search?q=nemo;oe=utf...

File permissions; Should my www-folder content be owned by www-data?

This might be a noob question, but can't find an answer anywhere. I have a problem, which http://stackoverflow.com/questions/3483832/another-file-permissions-problem have helped me to ALMOST solve. I have created a user in linux (danny) which has sudo access. I have also created a new group which name ALSO is danny, and added the user ...

What's the best way to update code remotely?

For example, I have a website with various types of information. If that goes down I have a copy of the same website the users use on a local webserver, like Apache or IIS on the client. They use this local version until the Internet version returns. They can have no downtime, in other words. The problem is that over time the Interne...

Choosing between a dedicated and virtual dedicated server for my startup

Hey guys, I'm about to launch a startup site I've been working on for some time, and I'm just now looking over hosting plans. The site's main feature is fairly processor-heavy (alot of text processing), so I probably need something other then shared hosting to ensure I don't get shut down for overusing resources. I would like to spend ...

Permissions with Zend Server CE, daemon:daemon does not have enough permissions on OSX

Strangely enough the server can't resize images any more because it doesn't have enough write permissions. When I check the permissions of the directory I want to write my resized images to I see: username staff After excecuting echo exec('whoami'); and checking the httpd.conf I saw the user and group for the server was daemon:daemon ...

nginx or apache for comet based PHP application?

I am building a PHP comet based application. Which web server should I use in the backend? Apache / nginx (this is what most forums say) or something else would be better? ...