Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I kept some cgi,python files under /var/www/cgi-bin and trying to execute I followed all the steps in:

http://webpython.codepoint.net/cgi_tutorial

Still i am not able to execute. when i enter 192.168.1.191/cgi-bin/sample.py or 192.168.1.191/cgi-bin/example.cgi , I am getting the file download pop-up.

Do i need to make any other changes other than that showed in link.

share|improve this question
add comment

1 Answer

Depends entirely on your web server, by the cgi-bin usage I'm guessing Apache.

Let us know which you're using, and I'll edit this answer with instructions.

By the way, this is nothing to do with shell scripting :)

share|improve this answer
    
I've fixed the tags. –  Jenny D Apr 20 '13 at 8:47
    
No. I am using lighthttpd. –  jack May 29 '13 at 5:54
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.