MoonPoint Support Logo

 

Shop Amazon Warehouse Deals - Deep Discounts on Open-box and Used ProductsAmazon Warehouse Deals



Advanced Search
November
Sun Mon Tue Wed Thu Fri Sat
1
         
2015
Months
Nov


Sun, Nov 01, 2015 4:09 pm

Running a Python script on an Apache web server

If you attempt to run a Python script on a web page on an Apache web server and see only the Python code displayed, then you may need to create a ScriptAlias directive in Apache's http.conf configuration file and restart the Apache webserver. If you see an "Internal Server Error" displayed when the script is being called by Apache on a Unix/Linux system, but the code is correct, then you may need to assign execute permission to the file so that Apache can run the script. You also need to be sure the script contains a line at the beginning of the file that provides the location of Python on the system.

[ More Info ]

[/languages/python] permanent link

Valid HTML 4.01 Transitional

Privacy Policy   Contact

Blosxom logo