#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+-------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Keywords:
---------------------------+-------------------
The easiest path would probably be:
1) Make the scripts available on an ad-hoc domain
(id.osgeo.org?)
2) Redirect /cgi-bin from old and new server to
the new domain-specific PATHs
In the long run id.osgeo.org could be used as an OpenID provider...
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------
Comment (by strk):
See #2051 for the mapping of id.osgeo.org
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:1>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------
Comment (by strk):
Regina you want to add these redirects (this syntax is for Apache):
{{{
Redirect /cgi-bin/ldap_create_user.py https://id.osgeo.org/ldap/create
Redirect /cgi-bin/auth/ldap_edit_user.py
https://id.osgeo.org/ldap/edit
Redirect /cgi-bin/ldap_password_reset.py
https://id.osgeo.org/ldap/reset
}}}
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:2>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------
Comment (by strk):
Updated list of redirects (which can always be found in the "www" site in
old apache config):
{{{
RedirectPermanent /cgi-bin/ldap_create_user.py
https://id.osgeo.org/ldap/create
RedirectPermanent /cgi-bin/auth/ldap_edit_user.py
https://id.osgeo.org/ldap/edit
RedirectPermanent /cgi-bin/ldap_password_reset.py
https://id.osgeo.org/ldap/reset
RedirectPermanent /cgi-bin/ldap_web_search.py
https://id.osgeo.org/ldap/search
RedirectPermanent /cgi-bin/auth/ldap_web_search.py
https://id.osgeo.org/ldap/admin/search
RedirectPermanent /cgi-bin/auth/ldap_group.py
https://id.osgeo.org/ldap/group
RedirectPermanent /cgi-bin/auth/ldap_shell.py
https://id.osgeo.org/ldap/shell
}}}
I've done this myself, and also put /etc/apache under a local git repo
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:3>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone:
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------
Comment (by strk):
Well, the RedirectPermanent directive doesn't seem to work:
https://staging.www.osgeo.org/cgi-bin/ldap_user_create.py
There must be a Rewrite preventing that configuration from working.
Anyone with better Wordpress knowledge is needed here
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:4>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Website rebranding 2017
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------------------------
Changes (by strk):
* milestone: => Website rebranding 2017
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:5>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------------------------
Reporter: strk | Owner: sac@…
Type: task | Status: new
Priority: normal | Milestone: Website rebranding 2017
Component: Systems Admin | Resolution:
Keywords: |
---------------------------+--------------------------------------
Comment (by strk):
What's needed is probably a RewriteCond in
/var/www/osgeo.org/httpdocs/core/.htaccess (toward the bottom) - help
needed
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:6>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Website rebranding 2017
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+--------------------------------------
Changes (by robe):
* status: new => closed
* resolution: => fixed
Comment:
strk what's wrong here. this seem to be working fine. I checked the rules
you put in place and they look fine.
I tried
https://staging.www.osgeo.org/cgi-bin/ldap_create_user.py
and it works fine redirects me to the https://id.osgeo.org/ldap/create as
stated in the redirect rules. Your above has a typo, that's not what you
put in the rewrite rules.
Anything that is not rewritten gets picked up by the wordpress catchall.
I'm marking this as done.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:7>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Website rebranding 2017
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+--------------------------------------
Comment (by robe):
strk for completeness I updated the wpAuthDir blocks that show in areas
login /edit profile /forgot password
login - now says this:
----
OSGeo members can login directly using their OSGeo username and password.
If you don't have an OSGeo account, you can create one by going to:
https://id.osgeo.org/ldap/create
----
forgot password /user edit screen change password(use the same block which
reads)
----
To change your OSGeo password, go to: https://id.osgeo.org/ldap/edit
If you forgot your password, go to https://id.osgeo.org/ldap/reset
----
I can't block access to the forgot your password textbox, but when they
try to use it, it will give an error that restates the above message.
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:8>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.
#2050: [wordpress] Make OSGeo UserID URLS (/cgi-bin/) work
---------------------------+--------------------------------------
Reporter: strk | Owner: sac@…
Type: task | Status: closed
Priority: normal | Milestone: Website rebranding 2017
Component: Systems Admin | Resolution: fixed
Keywords: |
---------------------------+--------------------------------------
Comment (by strk):
Perfect, thanks!
--
Ticket URL: <https://trac.osgeo.org/osgeo/ticket/2050#comment:9>
OSGeo <http://www.osgeo.org/>
OSGeo committee and general foundation issue tracker.