Hello! I'm trying to use a bottlepy script Bottlepy is a one-file framework (http://bottlepy.org) This is the hello world example I am trying to get working (straight from documentation, apart from the shebang)
#!/usr/local/bin/python2.7
from bottle import route, run
@route('/hello')
def hello():
return "Hello World!"
my bottle.py file is in the same directory (/maxartmod.tk), which is an addon domain as well This is my .htaccess file in that directory
Options +ExecCGI
AddHandler cgi-script .cgi .py
RewriteEngine on
RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^(.*)$ index.wsgi/$1 [L] the helloworld's name is index.wsgi When I navigate to maxartmod.tk/hello I get an Internal server error How can I solve this problem? Thanks in advance :)/&--#62;