Jump to content

Search the Community

Showing results for tags 'python django modrewrite'.

  • 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. Having problem getting Django app to work. Did all the steps here http://www.heliohost.org/classic/features/languages/python Is there anything that needs to be done to turn on Django/Python for the account? Or, is there anyway to get some error output for troubleshooting? My project name is h1 Creating a project you get an h1 dir and another one named h1 dir under it. So location for dispatcher is public_html/h1/h1/dispatcher.wsgi have also created public_html/h1/media/test.html I tested the media exemption and it works fine, so I think there needs to be some extra h1 dirs in the .htaccess similar to the inforiesgoserver/inforiesgoserver/... in this example: https://www.helionet.org/index/topic/29558-django-project-not-working/ It appears that the filter regex is relative to the location of the .htaccess (../public_html/h1/) and the target is relative to the account root (../public_html/) Something like this: RewriteEngine OnRewriteBase /RewriteRule ^(media/.*)$ - [L]RewriteRule ^(admin_media/.*)$ - [L]RewriteRule ^(h1/dispatch\.wsgi/.*)$ - [L]RewriteRule ^(.*)$ h1/h1/dispatch.wsgi/$1 [QSA,PT,L] But, that does not work either. Please advise.
×
×
  • Create New...