Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I modified my httpd.conf file to point to a .wsgi file that I made directing apache to different document root. The server works fine, I see my application live on the net and I am still connected via SSH. However, I was kicked off my sftp and I cannot get back into it. I am using a .pem key as well. Has this happened to anyone? Anyone have any ideas on how to fix this?

I am using an Amazon Linux AMI with an EC2 Instance running apache2, python 2.6, mysql, mod_wsgi

EDIT: I just refreshed my webpage once again (10 minutes after being kicked off the ftp) and I get a page could not be found by my browser, as if the server is not active. EC2 shows the instance is still running, even after refreshing it.

share|improve this question
Turn on logging to see what does it say. – quanta Sep 18 '12 at 6:33

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.