Hello,
I am trying to get Python to work with my web hosting company. It says that they have it, and I emailed them and they supplied me with the path to Python (much like the path you need for Perl scripts to run), and as far as I can tell, it should work, but it''s not. I''m doing a simpl "Hello, World!" program just to make sure I was doing everything right, and all it does when I goto the URL of the Python script (test.py) is displays the contents of the script file.
One thing that I tried was adding the line:
AddHandler python-program .py
to the .htaccess file in the root directory of my site, but that didn''t change anything. It might not take effect until the server is rebooted though. I''m not sure how that works.
Anyway, anyone have any suggestions?
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement