Opened 6 years ago

Closed 6 years ago

Last modified 6 years ago

#2050 closed task (fixed)

[wordpress] Make OSGeo UserID URLS (/cgi-bin/) work

Reported by: strk Owned by: sac@…
Priority: normal Milestone: Website rebranding 2017
Component: SysAdmin Keywords:
Cc: userid


The easiest path would probably be:

1) Make the scripts available on an ad-hoc domain


2) Redirect /cgi-bin from old and new server to

the new domain-specific PATHs

In the long run could be used as an OpenID provider...

Change History (9)

comment:1 by strk, 6 years ago

See #2051 for the mapping of

comment:2 by strk, 6 years ago

Regina you want to add these redirects (this syntax is for Apache):

    Redirect /cgi-bin/
    Redirect /cgi-bin/auth/
    Redirect /cgi-bin/

comment:3 by strk, 6 years ago

Updated list of redirects (which can always be found in the "www" site in old apache config):

    RedirectPermanent /cgi-bin/
    RedirectPermanent /cgi-bin/auth/
    RedirectPermanent /cgi-bin/
    RedirectPermanent /cgi-bin/
    RedirectPermanent /cgi-bin/auth/
    RedirectPermanent /cgi-bin/auth/
    RedirectPermanent /cgi-bin/auth/

I've done this myself, and also put /etc/apache under a local git repo

comment:4 by strk, 6 years ago

Well, the RedirectPermanent directive doesn't seem to work:

There must be a Rewrite preventing that configuration from working. Anyone with better Wordpress knowledge is needed here

comment:5 by strk, 6 years ago

Milestone: Website rebranding 2017

comment:6 by strk, 6 years ago

What's needed is probably a RewriteCond in /var/www/ (toward the bottom) - help needed

comment:7 by robe, 6 years ago

Resolution: fixed
Status: newclosed

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

and it works fine redirects me to the 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.

comment:8 by robe, 6 years ago

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:

forgot password /user edit screen change password(use the same block which reads)

To change your OSGeo password, go to:

If you forgot your password, go to

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.

comment:9 by strk, 6 years ago

Perfect, thanks!

Note: See TracTickets for help on using tickets.