server

.Net SSL server library

I have created a server application that accepts connections over SSL. It's simple and works well enough. However, I'm wondering if there's a library out there that already does that. Ideally, it would be as easy to use as: authenticate with this certificate, listen on this port, and let me know when there's a new client connected. The l...

Setting variable values in JavaScript files

I have a Python script and a JS on my server. In the python script, I want to set the value of a variable to be the output of one of the functions in my .js file. Is this possible, and if so how wold one go about doing this? Thanks! ...

Issues with Python hashlib.sha256 (2.4.3)

So I have some code: signature = hmac.new( key=AWS_SECRET_ACCESS_KEY, msg=string_to_sign, digestmod=hashlib.sha256).digest() That runs perfectly on my own computer (has python 2.6.1). However, when I run this code on my server (Python 2.4.3) I get the following: /home/MYUSERNAME/public_html/Foo.com/cgi-bin/foo.py 66 ...

Push Notification - Dedicated server required?

Hi. I'm thinking of developing an app that uses Microsoft Push Notification. However, I'm not quite sure what I need on my server. I've currently got a shared hosting account. Can I use this as my server to use Push Notification, or does the server have to be dedicated? Thanks ...

Could not find activerecord-jdbcmysql-adapter (existing is for Java)

I've been struggling with this problem for a few hours and it is preventing me from even starting my server, which therefore is stopping development completely. I am running Windows, Bitnami Rubystack, and that's pretty much it. I downloaded and installed NetBeans yesterday but my primary editor is Notepad++. I am not using JRuby. Here...

Email Server; How to configure postfix to suit my needs? (Do I need SASL or/and TLS?)

I have a linux server, where I just installed postfix. I have done nothing more with the email server config. My website is a classifieds website, where users may put ads, delete ads etc etc. No login and no member functions at all. Only place I need to use email is this: When posting a new classified a confirmation email will be se...

PHP blank body page on first time open on firefox on my development server

Hello all, I really don't know why my web page is always blank in body whenever open a new page in firefox on my development server! My development server have many web sites! Some sites same problem and some sites no problem... But I'm not working with server administration. The result of the page is blank body: ...

Apache server restart with Ruby on Rails

Hi - I have just restarted my apache server which is running ruby on rails. Now it isn't serving any web pages because I think that some of the Rails related services are not working. Does anyone know how to sort this out? Any help greatly appreciated. More info: error says "Ruby on Rails application could not be started" with Phusion ...

Sharing Apache Server with the Internet ?

I installed Apache with WAMP. I want to make my computer as a server for my web page for make some experiment on my web site.But I can`t open my server in Internet. I can see it in http://localhost/mysite/index.html but when I try to reach it in another computer like http://myserverip/mysite/index.html it says server not responding. I a...

Logging in django gives server error

In my settings.py file I've added the following lines to enable logging. But unexpectedly now my project throws "500 Internal Server Error". Any ideas why ? import logging logging.basicConfig( level=logging.DEBUG, format='%(asctime)s %(levelname)s %(message)s', filename=os.path.join(rootdir, 'django.log'), filemode='a+')...

common NSConnection for various data proccessing from web server in iphone

Hi friends, How to have common NSConnection for various data proccessing from web server in iphone. if possible can i have code for it Regards, sathish ...

which dbms is suitable for a mmorpg game server?

which dbms is suitable for a mmo rpg game server? ...

python xinetd client disconnection handling

This may or may not being a coding issue. It may also be an xinetd deamon issue, i do not know. I have a python script which is triggered from a linux server running xinetd. Xinetd has been setup to only allow one instance as I only want one machine to be able to connect to the service, which is therefore also limited by IP. Currently...

what module do you recommend for xmlrpc in Perl in cgi script?

Hi, I am looking for a module in Perl that I can use to respond on remote procedure call in a serverside script. Which is the best in terms of quality and easy of use? Thank you. From other source, I found RPC::Any::Server::XMLRPC::CGI. (RPC::Any) ...

Flex/Zend channel connect failed error...

Hi guys. I am using Flex and php to develop my project. Everything works great in my local machine. However, when I upload my files to my server (godaddy.com). I got the error when loading my flex application. The pop-up error message is send failed channel.connect.failed.error Netconnection.call.Badversion: url: http://mydomail/...

iframe domain issues leading to 500 internal server error

Hi, I have a strange issue with a website that cannot reference any resources from another site. The source site (A) is trying to iframe a page from the other site (B). For some reason, site (B) is returning a 500 internal server error. I then tried just to reference a simple image from site (B) with a tag and that returned a 404....

htaccess problems with redirect for no www

I've been trying everything to manage a redirect from www.domain.com to domain.com, but nothing seems to work for me. I always get a redirect loop - and I've tried various things I found here or on Google. So here is my .htaccess, maybe someone could help me figure out what I can do to redirect correctly or if there is something wrong i...

What's the best way to store quickly-changing data in Python?

On a quest to learn a bit about Python and sockets I'm writing a little 2d-game server. And although I don't see more than a few people on this server at any given time, I want to write it as efficiently as I can. I have a global dictionary called "globuser", in it is another dictionary containing the user stats (like the X & Y coordin...

Silent crash in Visual Studio 2008 c++ application

Hi We have a unmanaged C++ TCP server application running as a Windows service that is silently crashing after few days of run on Win2003 server. There is no Dr. Watson log file getting generated (no issue with Dr. Watson log as it catches other crashes in same application). Due to lack of Dr. Watson log file, we are unable to progress ...

SetWindowPos Not Working On Windows Server 2003?

I've got a legacy VB6 app that I recently added SetWindowPos to the application to keep it on top. Long story why, but customer requested it. On "normal" Windows machines (2000, XP) it keeps the window on top, but on the Server, it does not. Does anyone have any idea why? Are there any security settings, patches, etc that have disabled ...