viclou Posted August 31, 2012 Share 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! Quote Link to comment Share on other sites More sharing options...
bayparkm Posted September 4, 2012 Share 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... Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.