Tech List

[index] [prev] [next] [options] [help]
See the Mailing Lists Page for how to subscribe and unsubscribe.

eprints_tech messages

Please note: this page shows emails that have been sent to the eprints_tech mailing list. Some of these may be spam emails we have failed to filter.

Re: [EP-tech] https, again

From: Peter Schober <peter.schober AT univie.ac.at>
Date: Tue, 17 Apr 2007 16:52:45 +0200


Threading: [EP-tech] https, again from peter.schober AT univie.ac.at
      • This Message

*** EPrints technical list - http://software.eprints.org/tech.php/
*** EPrints community wiki - http://wiki.eprints.org/

christopher,

* IT Support (Christopher Hoskin) <itsupport AT history.ox.ac.uk> 
[2007-04-17 15:57]:
> I think that the url is set in cgi/users/home. By replacing the line:
> 
> EPrints::ScreenProcessor->process(
>       session=>$session,
>       url=>$session->get_repository->get_conf( 
"perl_url" )."/users/home" );
[...]

thanks a heap for the pointer. I somehow forgot about
perl_url. changing:

- $c->{perl_url} = $c->{base_url}."/cgi";
+ $c->{perl_url} = $c->{secure_url}."/cgi";

in /opt/eprints3/archives/ARCHIVEID/cfg/cfg.d/20_baseurls.pl did the
trick, actions now work fine.

> Now need to find out if this breaks anything else.....

the logout link is wrong since it points to
https://eprints.example.org/secure/cgi/logout instead of
http://eprints.example.org/cgi/logout .
while this could easily be worked around in apache with
  RedirectPermanent /secure/cgi/logout 
http://eprints.cc.univie.ac.at/cgi/logout
I'd prefer links to be generated correctly in the first place ;)

thanks again & best regards,
-p

-- 
peter.schober AT univie.ac.at - vienna university computer center
Universitaetsstrasse 7, A-1010 Wien, Austria/Europe
Tel. +43-1-4277-14155, Fax. +43-1-4277-9140


[index] [prev] [next] [options] [help]