server

How does Google Video allow for slow motion and fast motion?

I have been searching far and wide for a solution on how to offer slow motion and fast motion options for users that upload video to my webstie. There is an implementation on Google Video that has exactly what I am looking for: the option to speed up or slow down the video and continue to play the audio. The screenshot is below. I know...

How do you correctly handle 404 errors in ASP.NET?

In the web.config you can add this code to handle 404 errors: <customErrors mode="Off" defaultRedirect="ErrorPage.aspx"> <error statusCode="404" redirect="/Site-Map"/> </customErrors> And this works well as you can see by this URL http://www.fundraising.com.au/thisisnotapage However, according to this website http://gsitecrawler.co...

Creating small Java file server, space limitation

So I am triyng to create small java server just for file storing with methods like Save(Key, Name, Data) ang Get(Key, Name). I want to limit my server file writing permissions for storing not more than some N gb of files totally (NOT for 1 key, but totally on server). My server is executable app, crossplatform (win, mac, lin) so I need o...

Email server setup tutorial?

I am configuring a linode ubuntu server to only send valid email alerts from a python app. I setup a spf record and configured reverse dns. However my emails to my gmail account are sent to spam email, and when I look at the original messages the gmail says the spf record is "neutral" instead of pass or fail. Are there any really good t...

return html for a web server and not plain text in python

here is my code : import socket import sys import re import base64 import binascii import time class Serverhttp: def __init__(self): self.GET = re.compile("GET.*?HTTP") self.POST = re.compile("GET.*?HTTP") try : sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) server_address = ...

Integrating VoIP on PHP site

Hello there. I was wondering if it was possible to have a chatting feature on my site(VOICE NOT TEXT) is this possible on a php enabled server(GoDaddy) or do i need like a flash type server. Also if it will work how can i start. Thanks So Much!!! ...

Standalone C++ websocket server library

Hi, I'd like to create a websocket server within one of my C++ programs. Do any standalone C++ libraries exist for creating websockets or is the only option to get the WebKit or V8 sources and extract their implementation? ...

How to export MS SQL database to MYSQL?

I'm trying to convert from a MSSQL .bak database to MYSQL. This question and answers have been very useful, and I have successfully imported the database, but am now stuck on exporting to MYSQL. The MYSQL Migration Toolkit was suggested, but seems to have been replaced my the MYSQL Workbench. Is it possible to use the MYSQL Workbench to...

Ubuntu Server with Apache. Domains Management.

Hi, Lets' asume I have 1 domain on a Ubuntu Server in the following directory: /var/www/domain1.com/httpdocs and that the ip address is 100.100.100.100 If I go to www.domain1.com, Apache will server the files inside the httpdocs folder. How can I avoid that if the following file exists: /var/www/domain1.com/privatefile.html .. ap...

How many NGinx redirects is too many?

I'm working on a news centric website thats been around for years and is steadily accruing more and more page redirects. Currently we have around 375 redirects and are adding about 5-10 a month. I know that NGinx is very, very fast at handling redirects, but presumably there must be some number of redirects that will affect performan...

server path / vs \

In some documentation, I have gotten the instructions to write SERVER_PATH\theme\ When I check _SERVER["DOCUMENT_ROOT"] from php info, it's /storage/content/75/113475/frilansbyran.se/public_html this renders ofcourse /storage/content/75/113475/frilansbyran.se/public_html\theme\ this looks really weird to me what's the difference anyw...

How should I host multiple Pylons websites on the one server?

I currently have one Pylons website running on my server that is setup using nginx as a proxy to Paster. In the near future, I plan to host another Pylons site on the same server. If I were to go the same route and use nginx+Paster, it would mean running two paster instances on different ports and then using the one nginx server as a pr...

I'm having trouble getting file_get_contents() to work on my server

I've got a php file on my server that looks like this: echo file_get_contents('http://server.com/some.file'); and I get the following error: Warning: file_get_contents(http://server.com/some.file) [function.file-get-contents]: failed to open stream: HTTP request failed! HTTP/1.1 404 Not Found in /path/to/php/file on line 6 What's got...

how to monitor python wsgi server,when it crashed restart it

i have a wsgi server which use paste,for some unkonw reason,it will often crash,so i want to has a application or just some package can help me to slove this,when it crashed automaticly kill the process and restart it.Any advice is welcome. ...

can i build c++ none blocking tcp server and not in C like (node.js.nginx)

Hi why each none blocking server is build with C ? cant i build it with c++ ? ...

Is it a good idea to install Office 2007 on a server?

I noticed a lot of 3rd party SharePoint applications require that Office be installed on the server in order to function - PDF converters, for example. To me, this seems like a horrible idea. The overhead, update requirements, reboots, and footprint all combine to make this a bad idea. Am I wrong in my assumption? ...

uploading php brings out pop up box?

i just uploaded my php file to my new server, i want to check the file in my web browser, instead of showing the page, a pop up box saying you want to download the php file. what deos that mean? :)) ...

Auto-generating WSDL file for a Python Twisted SOAP Server

Any recommendations for auto-generating the WSDL for a Python/Twisted SOAP Server? I've found lots of examples for taking an existing WSDL and generating the stubbed Python code, but am looking for the reverse operation. ...

android file download

Hallo guys, im here in austria how are you doing? i have startet developing android and writing my own small app that gets files from a server to display the information in a ListView. I really spent a day to look after the best and easiest way to get files from a server. However i wrote the program and tested it - and now i have a seri...

Calculate database performance on overload.

I don't know if this is the right place for this question, but here it comes: I have a db function that I tested and can handle about 3000 requests/minute. The problem is that this calculation just gives me the optimal performance of the function (~18ms/request). How do I calculate the performance when the requests are twice, triple or ...