viclou Posted August 31, 2012 Posted August 31, 2012 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!
bayparkm Posted September 4, 2012 Posted September 4, 2012 It seems to be working just fine and not showing dispatch.wsgi in the URL so I'm not sure what the problem is...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now