Jump to content

Search the Community

Showing results for tags 'bottlepy'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • General Discussion
    • Website Management and Coding
    • Technology and the Internet
    • Philosophy, Politics, and Science
    • Art and Entertainment
    • Other Discussion
  • HelioHost
    • Questions
    • Customer Service
    • How You Can Help
  • HelioNet
    • News
    • Contact HelioNet

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Location


Interests

Found 1 result

  1. 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;
×
×
  • Create New...