1182: Apache configuration file is misconfigured, if RB do not goes to root.
- NotABug
- Review Board
msuchy%r*********@gtempacc******** (Google Code) (Is this you? Claim this profile.) | |
June 23, 2009 |
What version are you running? 1.5 What's the URL of the page containing the problem? installation What steps will reproduce the problem? 1. install ReviewBoard (RB) on Linux 2. create new sit in /www/spacewalk-reviewboard and url will be /spacewalk/reviews 3. check /www/spacewalk-reviewboard/conf/apache-modpython.conf What is the expected output? What do you see instead? Location and Alias directives use "/", whereas there obviously should be "/spacewalk/reviews" What operating system are you using? What browser? Debian
This is actually by design in order to support some existing setups and older versions of Django. We may move away from this at some point, but for now, it's intentional. The default configuration of Review Board expects to own the subdomain, and then the site root is calculated at runtime. You're always free to modify the generated configuration files. The reason for this is that before, Django was unable to work in subdomains without some hacks. We put some stuff in place to allow working in subdomains, and changing our way of doing it now would break existing installs that rely on our workarounds. Moving away from that is going to be a larger effort.
-
+ NotABug