-
Notifications
You must be signed in to change notification settings - Fork 25
Hosting WM in a subfolder
Ivailo Karamanolev edited this page Aug 29, 2014
·
2 revisions
Hosting WM in a subfolder isn't very hard. There are a few configuration options you have to get right, everything is the same:
- In your apache settings, fix the
WSGIScriptAlias
andAlias
es to start with your desired folder, so/wm
instead of/
, the same goes for/static
and/static/admin
. - In settings.py
- If using userscripts, fix your USERSCRIPT_WM_ROOT to be like
http://domain.com/wm
. Reinstall the userscripts. - Fix your
STATIC_URL
to include your subfolder. - Fix your
LOGIN_URL
to include your subfolder.
- If using userscripts, fix your USERSCRIPT_WM_ROOT to be like
- Fix your cronjobs to include the subfolder in the curl URL.