#2033: tg2 not wsgi compliant with public/static content
-------------------------------------------------------------+--------------
Reporter: lszyba1 | Owner:
faide
Type: defect | Status:
new
Priority: highest | Milestone:
1.9.7b1
Component: TurboGears | Version:
trunk
Severity: critical | Resolution:
Keywords: needs feedback, wsgi, static files, deployment |
-------------------------------------------------------------+--------------
Comment (by lszyba1):
Install apache, mod_wsgi
create apache file and enable the site. You do it by:
WSGIScriptAlias /myapp /some/path/myapp.wsgi
the myapp.wsgi script holds settings for production.ini and base dir
folders. I can paste the actual files later if you want.
restart apache and I am able to access my site using this url and all its
functions
localhost/myapp
localhost/myapp/adduser
localhost/myapp/deleteuser
except for
localhost/myapp/images
localhost/myapp/css
localhost/myapp/javasctipt (maybe, didn't test it)
These SCript_name variable should work for all url links.
Let me know and I can supply you with the whole brand new quickstarted app
with all wsgi settings set.
Thanks,
Lucas
--
Ticket URL: <http://trac.turbogears.org/ticket/2033#comment:3>
TurboGears <http://www.turbogears.org/>
TurboGears front-to-back web development
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "TurboGears Tickets" group.
This group is read-only. No posting by normal members allowed.
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/turbogears-tickets?hl=en?hl=en
-~----------~----~----~----~------~----~------~--~---