Project

General

Profile

Actions

Bug #292

open

login doesn't work when base_path is the document root.

Added by Christopher Irving about 14 years ago. Updated about 12 years ago.

Status:
Assigned
Priority:
Normal
Assignee:
-
Category:
-
Start date:
03/31/2010
Due date:
% Done:

0%

Estimated time:
Affected Version:
Pre-2.0
Show in known bugs:
Yes
Workaround:

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

Actions #1

Updated by Eric Hou about 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

Actions #2

Updated by Eric Hou about 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

Actions #3

Updated by Neil Voss almost 14 years ago

  • Target version set to Appion/Leginon 2.0.0
Actions #4

Updated by Neil Voss almost 14 years ago

  • Status changed from New to Assigned
Actions #5

Updated by Amber Herold almost 14 years ago

  • Target version changed from Appion/Leginon 2.0.0 to Appion/Leginon 2.0.1
Actions #6

Updated by Amber Herold almost 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
Actions #7

Updated by Amber Herold almost 14 years ago

  • Affected Version changed from Myami 2.0.1 to Appion/Leginon 2.0.1
  • Show in known bugs set to Yes
Actions #8

Updated by Neil Voss almost 14 years ago

  • Affected Version changed from Appion/Leginon 2.0.1 to Pre-2.0
Actions #9

Updated by Amber Herold almost 14 years ago

  • Target version changed from Appion/Leginon 2.1.0 to Appion/Leginon 2.2.0
Actions #10

Updated by Amber Herold over 13 years ago

  • Deliverable set to 2.2 Bug Reduction
Actions #11

Updated by Amber Herold about 12 years ago

  • Assignee deleted (Eric Hou)
  • Target version changed from Appion/Leginon 2.2.0 to Appion/Leginon Future Version
Actions

Also available in: Atom PDF