riclags wrote:I've gone through this (http://community.apachefriends.org/f/viewtopic.php?f=16&t=34468) tutorial/how-to but I was wondering if there are any current ways to use Python with XAMPP as the mentioned post is 3 years old.
riclags wrote:(1) Which directory are the .reg files placed? Is it under XAMPP or the Python directory?
riclags wrote:(2) The shebang portion of the Python code also uses #!/usr/bin/python; is this correct?
Nobbie wrote:It may be still working, but I would not do so anyway. I dont like the "Registry Hack" and recommend to go the "standard CGI" installation.
riclags wrote:I do want to know how to do the "standard CGI" installation.
riclags wrote:but I was wondering if there are any current ways to use Python with XAMPP
The shebang portion of the Python code also uses #!/usr/bin/python; is this correct?
Per the Python documentation, which you should take a look at to see the various options, (http://docs.python.org/2/howto/webservers.html) CGI is no longer recommended.
hackattack142 wrote:It recommends you use WSGI (see mod_wsgi at https://code.google.com/p/modwsgi/).
print ("Content-Type: text/html\n")
print ('Hello World')
Users browsing this forum: No registered users and 40 guests