R
Robbie
Hi all,
So, I'm trying to use Python with an apache2 server to create some web
pages. The web server is configured and seems to work correctly, but
only with a certain type of script.
For instance, this script works fine
#!/usr/bin/env python
def index():
s = "Hello World"
return s
But, a script like this, does not.
#!/usr/bin/env python
print "hello world"
When I try to use the script with print, the server returns a broken
link error. There is nothing in the apache error log to help me
understand why it won't work.
Any help?
thanks
robbie
So, I'm trying to use Python with an apache2 server to create some web
pages. The web server is configured and seems to work correctly, but
only with a certain type of script.
For instance, this script works fine
#!/usr/bin/env python
def index():
s = "Hello World"
return s
But, a script like this, does not.
#!/usr/bin/env python
print "hello world"
When I try to use the script with print, the server returns a broken
link error. There is nothing in the apache error log to help me
understand why it won't work.
Any help?
thanks
robbie