Jump to content

Recommended Posts

Posted

NOTE: My website is at http://tt.heliohost.org/ and the application is hosted on the root of the public_html folder.

 

Hey everyone,

 

After reading the guide on Phython at http://www.heliohost.org/home/features/languages/python , I have set up a simple application that displays webpages. The problem is that everything gets processed thru dispatch.wsgi, like if you type in http://tt.heliohost.org/u/list the requested url ends up being http:// tt.heliohost.org/dispatch.wsgi/u/list...

 

My .htaccess looks like this:

RewriteEngine On
RewriteBase /
RewriteRule ^(blog/.*)$ - [L]
RewriteRule ^(h/.*)$ - [L]
RewriteRule ^(media/.*)$ - [L]
RewriteRule ^(admin_media/.*)$ - [L]
RewriteRule ^(dispatch\.wsgi/.*)$ - [L]
RewriteRule ^(.*)$ dispatch.wsgi/$1 [QSA,PT,L]

 

It appears that the last line may be causing the problem but when I change it, it gives me errors.

 

If anyone knows how to solve my problem or if you need more details, feel free to reply.

 

Thanks!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...