Bug #292
openlogin doesn't work when base_path is the document root.
0%
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
Updated by Eric Hou over 14 years ago
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
Updated by Eric Hou over 14 years ago
- Priority changed from High to Normal
I am moving this priority to normal. We will do this in the next release.
Thanks.
Eric
Updated by Neil Voss over 14 years ago
- Target version set to Appion/Leginon 2.0.0
Updated by Amber Herold over 14 years ago
- Target version changed from Appion/Leginon 2.0.0 to Appion/Leginon 2.0.1
Updated by Amber Herold over 14 years ago
- Target version changed from Appion/Leginon 2.0.1 to Appion/Leginon 2.1.0
- Affected Version set to Myami 2.0.1
Updated by Amber Herold over 14 years ago
- Affected Version changed from Myami 2.0.1 to Appion/Leginon 2.0.1
- Show in known bugs set to Yes
Updated by Neil Voss over 14 years ago
- Affected Version changed from Appion/Leginon 2.0.1 to Pre-2.0
Updated by Amber Herold over 14 years ago
- Target version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.2.0
Updated by Amber Herold about 14 years ago
- Deliverable set to 2.2 Bug Reduction
Updated by Amber Herold over 12 years ago
- Assignee deleted (
Eric Hou) - Target version changed from Appion/Leginon 2.2.0 to Appion/Leginon Future Version