Opened 7 years ago

Closed 6 years ago

Last modified 6 years ago

#1128 closed task (fixed)

Redirect to ICA-OSGeo Labs website

Reported by: aghisla Owned by: warmerdam
Priority: normal Milestone:
Component: Systems Admin Keywords: ica-osgeolabs
Cc: manuel.haro@…, Suchith.Anand@…, Jeff McKenna, sac@…, jds@…

Description

Hi,

I would ask the SAC to set a

http://osgl.osgeo.org

redirect to

http://conlibre.org/osgeolabs/

the main website of ICA-OSGeo Labs initiative, kindly provided by Ing. Manuel Haro Marquez - Laboratorio de Software Libre COZCyT (in cc). The site is currently being populated with all needed info regarding ICA-OSGeo Labs and related initiatives.

Best regards,

Anne Ghisla

OSGeo Education liaison

Change History (18)

comment:1 Changed 7 years ago by Jeff McKenna

Cc: Jeff McKenna added

comment:2 Changed 7 years ago by warmerdam

Owner: changed from sac@… to warmerdam

I'll take a crack at this.

comment:3 Changed 7 years ago by warmerdam

I'm adding:

# Redirect osgl.osgeo.org per #1128
RewriteCond %{HTTP_HOST} ^osgl\.osgeo\.org$
RewriteRule ^/(.*)  http://conlibre.org/osgeolabs [R,L]

to /etc/httpd/conf.d/rewrite.conf and then restarting apache with:

sudo /usr/sbin/apachectl graceful

comment:4 Changed 7 years ago by warmerdam

Resolution: fixed
Status: newclosed

Note, I also had to add a DNS A record at pairnic directling osgl.osgeo.org to osgeo1 (66.223.95.242).

Everything seems to be working.

comment:5 Changed 7 years ago by wildintellect

Cc: sac@… added

I don't think redirect was the right word here. Though in Apache that should just be (rewrite above has the same result)

Redirect osgl.osgeo.org conlibre.org/osgeolabs

Correct me if I'm wrong but I believe a subdomain pointer at the conlibre server is what they intended (or a proxy but that would wast resources). So shouldn't we just point the DNS entry to the IP for that server? 184.106.55.63

comment:6 in reply to:  5 Changed 7 years ago by aghisla

Replying to wildintellect:

I don't think redirect was the right word here. Though in Apache that should just be (rewrite above has the same result)

Redirect osgl.osgeo.org conlibre.org/osgeolabs

Correct me if I'm wrong but I believe a subdomain pointer at the conlibre server is what they intended (or a proxy but that would wast resources). So shouldn't we just point the DNS entry to the IP for that server? 184.106.55.63

Yes, excuse my poor choice of words! Thanks Frank for the quick action.

Best! Anne

comment:7 Changed 7 years ago by warmerdam

Anne, does this mean you would like me to remove the redirect, and update the DNS record to point directly at conlibre.org?

comment:8 in reply to:  7 Changed 7 years ago by aghisla

Replying to warmerdam:

Anne, does this mean you would like me to remove the redirect, and update the DNS record to point directly at conlibre.org?

Well, what I meant when I opened the ticket was to get osgl.osgeo.org point to the site made by Manuel and his group. Therefore I suppose that just pointing the DNS record to conlibre website will be the simplest solution. I leave you the choice of the cleanest implementation :)

comment:9 Changed 7 years ago by warmerdam

Anne,

Depending on how Apache (or other server software) is configured on the system in question, just pointing DNS might not work. The server needs to be configured to appropriately. While the redirect has already remapped things to conlibre.org which does work.

The downside to the redirect/rewrite is that the web site appears in the browser as conlibre.org instead of osgl.osgeo.org.

For now the easiest (for me at least) is for me to leave things as they are. If you or others decide you prefer to have the DNS update then just note it here.

Best regards, Frank

comment:10 Changed 7 years ago by Jeff McKenna

Resolution: fixed
Status: closedreopened

Hi Frank, Anne,

Just to make sure we are on the same page: we need osgl.osgeo.org to remain in the browser. Anne: I was in today's Labs meeting and Manuel is ready to help make this happen.

Re-opening ticket. (sorry Anne, don't want to step on toes)

-jeff

comment:11 Changed 6 years ago by aghisla

Cc: jds@… added

Hi all,

the ICA-OSGeo Labs website has been officially moved to

http://www.geoforall.org

created by Jason Sadler and colleagues (University of Southampton, UK).

We would like to have osgl.osgeo.org display geoforall.org contents, but keeping the osgeo.org address, as we discussed few comments above.

Please let Jason (in cc) know what is required on his side to make this happen.

Many thanks, Anne

comment:12 Changed 6 years ago by warmerdam

Anne, I can accomplish this with just a change in the DNS A record as long as the target host is ready to also serve the site as osgl.osgeo.org. Is it ready?

Hmm, I tested by changing geoforall.org to point to IP = 152.78.220.2 in my local hosts file, and visited and I get a geodata (but not geoforall) web site. That means there is work for Jason to do first on his end to be ready for this change.

comment:13 Changed 6 years ago by warmerdam

Jason writes:

Hi both,

I was just thinking last night that the dns CNAME/A would be the best way to go, I've now changed the server setup to accept this name for the site, so please go ahead with the dns change.

Best regards, Jason

comment:14 Changed 6 years ago by warmerdam

Resolution: fixed
Status: reopenedclosed

A record for osgl.osgeo.org updated to 152.78.220.2 - it should be live shortly.

comment:15 Changed 6 years ago by jsanz

Hi just a 2cts note,

Having two domains (osgl.osgeo.org and www.geoforall.org) pointing to the same website is pretty bad for search indexing (SEO thing). One of them should do a redirect (301) to the other.

It can also be confusing for visitors, as well.

comment:16 Changed 6 years ago by aghisla

Hi Jorge,

while Jason creates an OSGeo id to be able to answer here, this is his answer:

""" easy for me to create a new vhost for the spurious domains, redirecting all to the main one (www.geoforall.org).

let me know if that's what's wanted and I'll sort today. """

Anne

comment:17 Changed 6 years ago by jsanz

Well it's not me who has to answer which is the preferred domain, even I guess that geoforall is the desired.

Suchith?

comment:18 Changed 6 years ago by jds

All domain aliases for this site now redirect to www.geoforall.org Jason

Note: See TracTickets for help on using tickets.