running schooltool on port 80
Bug #259415 reported by
Tom Hoffman
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
SchoolTool |
Fix Released
|
High
|
Gediminas Paulauskas |
Bug Description
Using the Debian/Ubuntu packages and init script, you cannot simply switch SchoolTool to port 80 using paste.ini, because the process doesn't start with sufficient privileges.
We either need to make this easy or provide instructions for the necessary manual changes.
Changed in schooltool: | |
assignee: | nobody → jinty |
importance: | Undecided → High |
milestone: | none → intrepid |
status: | New → Confirmed |
Changed in schooltool: | |
assignee: | jinty → menesis |
Changed in schooltool: | |
milestone: | intrepid → none |
Changed in schooltool: | |
assignee: | Gediminas Paulauskas (menesis) → Jason Straw (jasonstraw) |
Changed in schooltool: | |
assignee: | Jason Straw (jasonstraw) → Gediminas Paulauskas (menesis) |
tags: | added: release tagged-badly |
tags: |
added: deployment removed: release tagged-badly |
Changed in schooltool: | |
importance: | High → Critical |
milestone: | none → next |
Changed in schooltool: | |
importance: | Critical → Medium |
status: | Confirmed → Triaged |
Changed in schooltool: | |
milestone: | next → 2.1 |
Changed in schooltool: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
Running on port 80 is not advisable. Instead,
1) Serve through Apache's mod_rewrite. Add
RewriteEngine on localhost: 7080/++ vh++http: example. org:80/ ++/$1 [P]
RewriteRule ^/(.*) http://
to a virtual host definition in sites-enabled.
2) configure the router to redirect, e.g. example.org:80 to 10.0.0.2:7080
Document both options in http:// book.schooltool .org/htmlhelp/ remote. html