Bug #292
open
login doesn't work when base_path is the document root.
Added by Christopher Irving over 14 years ago.
Updated over 12 years ago.
Description
If you try to set the BASE_PATH in config.php to the web server's document root it doesn't resolve login.php correctly.
For example, my document root in the webserver is /srv/www/html. When checking out myamiweb from svn I do svn co http://ami/svn/myami/trunk/myamiweb . in the document root directory. Then if I set BASE_PATH to "" or "/" then when I go to http://webserver.domain.com I get redirected to http://www.login.php/?ln=/index.php. I can get around this by making myamiweb a sub directory and added a redirect to the webserver config but it would be better not to have to do it that way.
-Christopher
Yes, you are right. The current setup does not work if you want the myamiweb to be the main domain site.
I am not sure why it setup this way at the beginning when people start this project. There are lots of place use 'BASE_URL' to determine the location of the page and all the different redirection. And when I try to change it to setup as main domain, the sub-domain will not work.
Are you going to use myamiweb as main domain site in the new webserver?
Eric
- Priority changed from High to Normal
I am moving this priority to normal. We will do this in the next release.
Thanks.
Eric
- Target version set to Appion/Leginon 2.0.0
- Status changed from New to Assigned
- Target version changed from Appion/Leginon 2.0.0 to Appion/Leginon 2.0.1
- Target version changed from Appion/Leginon 2.0.1 to Appion/Leginon 2.1.0
- Affected Version set to Myami 2.0.1
- Affected Version changed from Myami 2.0.1 to Appion/Leginon 2.0.1
- Show in known bugs set to Yes
- Affected Version changed from Appion/Leginon 2.0.1 to Pre-2.0
- Target version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.2.0
- Deliverable set to 2.2 Bug Reduction
- Assignee deleted (
Eric Hou)
- Target version changed from Appion/Leginon 2.2.0 to Appion/Leginon Future Version
Also available in: Atom
PDF