On 29 October 2013 16:50, helix84 <heli...@centrum.sk> wrote:

> On Tue, Oct 29, 2013 at 3:31 PM, Sean Carte <sean.ca...@gmail.com> wrote:
> > Thanks, Ivan. I've updated dspace.cfg, and regenerated the sitemaps.
>
> Sitemap looks good.
>
> Since you've likely been using the duplicate
> http://ir.dut.ac.za/xmlui/ URL for a while and you might want to
> migrate away from it without braking links, I suggest you use
> mod_rewrite with a HTTP 302 code (permanent redirect) from all
> http://ir.dut.ac.za/xmlui/* URLs to http://ir.dut.ac.za/*.
>

Thanks, Ivan, that's a good idea, but can I use mod_rewrite in conjunction
with mod_proxy? My attempts seem to indicate not.

With the following config in /var/www/.htaccess:
RewriteEngine on
RewriteRule ^xmlui / [R=302,L]

/etc/apache2/sites-enabled/000-default:
s/AllowOverride None/AllowOverride All/

The redirection works if mod_proxy and friends are disabled, but otherwise
nothing.

The handle redirect still takes over 60 seconds and takes me to
> http://ir.dut.ac.za:8080/xmlui/... Did you try restarting your local
> handle server? It might not solve the delay, but I think it should
> change the target URL to your dspace.url.
>
> I restarted handled. It didn't solve the delay, but it did change the
target URL.

It's always taken a while to resolve handle.net links. I've always assumed
that was just how long it took. I get a reasonable response times from
pings to hdl.handle.net:

PING hdl.handle.net (38.100.138.165) 56(84) bytes of data.
64 bytes from test165.handle.net (38.100.138.165): icmp_req=1 ttl=47
time=303 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=2 ttl=47
time=296 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=3 ttl=47
time=303 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=4 ttl=47
time=303 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=5 ttl=47
time=295 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=6 ttl=47
time=295 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=7 ttl=47
time=297 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=8 ttl=47
time=295 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=9 ttl=47
time=295 ms
64 bytes from test165.handle.net (38.100.138.165): icmp_req=10 ttl=47
time=303 ms
^C
--- hdl.handle.net ping statistics ---
10 packets transmitted, 10 received, 0% packet loss, time 9012ms
rtt min/avg/max/mdev = 295.513/298.927/303.347/3.562 ms

It would be great if I could find a way to speed up the resolution of
handle links. Any ideas?

Sean
--
------------------------------------------------------------------------------
Android is increasing in popularity, but the open development platform that
developers love is also attractive to malware creators. Download this white
paper to learn more about secure code signing practices that can help keep
Android apps secure.
http://pubads.g.doubleclick.net/gampad/clk?id=65839951&iu=/4140/ostg.clktrk
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech
List Etiquette: https://wiki.duraspace.org/display/DSPACE/Mailing+List+Etiquette

Reply via email to