PAPI Archivos

The PAPI authentication and authorization framework

PAPI@LISTSERV.REDIRIS.ES

Opciones: Vista Forum

Use Monospaced Font
Por defecto enseñar Text Part
Mostrar todas las cabeceras de correo

Mensaje: [<< Primero] [< Prev] [Siguiente >] [Último >>]
Tema: [<< Primero] [< Prev] [Siguiente >] [Último >>]
Autor: [<< Primero] [< Prev] [Siguiente >] [Último >>]

Print Responder
Subject:
Emisor:
Gustavo Roig <[log in para visualizar]>
Reply To:
The PAPI authentication and authorization framework <[log in para visualizar]>
Fecha:
Tue, 13 Nov 2007 16:47:30 +0100
Content-Type:
text/plain
Parts/Attachments:
text/plain (90 lines)
Thanks a lot  Diego!!

I'm sorry, "forbidden" was one of the errors when I was doing some test
with REMOTE_URL,  but the error when I use Remote_Domain is exactly:
(the browser give me this message)

500 Can't connect to oxfordjournals.h13o.es/subject:80 (Bad hostname 'oxfordjournals.h13o.es/subject')


when I link http://oxfordjournals.h13o.es/subject/medicine/ (URL before rewrite is http://www.oxfordjournals.org/subject/medicine/)

(h13o.es is a fake domain name, just for test before papi's production)

These are the last apache error.log lines about oxfordjournals:

Tue Nov 13 16:07:01 2007] [error] [client 193.146.176.179] PAPI-DEBUG#16217_1194966421_oxfordjournals: Parameters initialized:$VAR1 = bless( {\n                 'RwUser' => undef,\n                 'attrList' => [],\n                 'filters' => [],\n                 'PxCkSize' => 320768,\n                 'ApacheRequest' => bless( do{\\(my $o = 137856068)}, 'Apache' ),\n                 'Hcook_Handler' => undef,\n                 'SPOCPAct' => 'accept',\n                 'registerVal' => '',\n                 'SPOCPAcc' => 0,\n                 'formProc' => {},\n                 'Athens_uia' => undef,\n                 'Domain' => 'oxfordjournals.h13o.es',\n                 'postRedirects' => [],\n                 'url_redirects' => [],\n                 'PADATH_HDD' => undef,\n                 'RewUrlPatterns' => [],\n                 'redirects' => [\n                                  {\n                                    'value' => '$papx_hostname/$1$2',\n                                    'regex' => '([\\\\w]+).oxfordjournals.org(.*?)'\n                                  },\n                                  {\n                                    'value' => '$papx_hostname/$1/',\n                                    'regex' => '$papx_hostname/([\\\\w]+)$'\n                                  },\n                                  {\n                                    'value' => 'url$1/$papx_namedest/resource',\n                                    'regex' => 'url(.*?)/resource'\n                                  },\n                                  {\n                                    'value' => '\\\\"/$papx_namedest/cgi/',\n                                    'regex' => '\\\\"/cgi/'\n                                  }\n                                ],\n                 'RewMimeTypes' => undef,\n                 'cookieRejects' => [],\n                 'RwAll' => undef,\n                 'AttSep' => undef,\n                 'Loc' => '/',\n                 'MaxTtl' => undef,\n                 'signoffLocs' => [],\n                 'HttpAuth' => [],\n                 'Req_DB' => undef,\n                 'Hkey' => '08d748e9563b8238ee0d647a8ee095d4',\n                 'Remote_Dom' => 'oxfordjournals.org',\n                 'Serv' => 'oxfordjournals',\n                 'Id' => '16217_1194966421_oxfordjournals',\n                 'Athens_AAP' => undef,\n                 'Lkey' => 'a621620820f742c005646ba011e95137',\n                 'Athens_psa' => undef,\n                 'EvalPx' => undef,\n                 'Pubkeys_Path' => '/usr/local/PAPI/PoA/KEYS',\n                 'Remote_Serv' => undef,\n                 'ValSep' => undef,\n                 'Hcook_DB' => '/usr/local/PAPI/PoA/hcook.db',\n                 'GPoA_Priv_Key' => undef,\n                 'Accept_File' => '/usr/local/PAPI/PoA/blueball.png',\n                 'NoXML' => undef,\n                 'HashUser' => undef,\n                 'registerKey' => '',\n                 'HcookGen' => undef,\n                 'URL_Timeout' => '200',\n                 'MxNonceErr' => 3,\n                 'PoARw' => [],\n                 'hdRedirects' => [],\n                 'Auth_Location' => '/PAPI/cookie_handler.cgi',\n                 'PAPI::ApachePoA' => undef,\n                 'rawHcook' => '',\n                 'GPoAHashUser' => undef,\n                 'SPOCPSrv' => undef,\n                 'CRC_Timeout' => '30',\n                 'RejUrlPatterns' => [],\n                 'PassUrlPatterns' => [],\n                 'Athens_Key' => undef,\n                 'Proxy' => undef,\n                 'AddressInToken' => undef,\n                 'StripLocation' => undef,\n                 'Debug' => '1',\n                 'Athens_IID' => undef,\n                 'Athens_TTL' => undef,\n                 'GPoA_URL' => undef,\n                 'Lcook_Timeout' => '60',\n                 'PxIP' => undef,\n                 'ases' => {\n                             'MyAS' => {\n                                         'desc' => 'Test AuthServer',\n                                         'url' => 'https://papi.h13o.es/cgi-bin/AuthServer'\n                                       }\n                           },\n                 'Reject_File' => '/usr/local/PAPI/PoA/redball.png',\n                 'PADATH_LAA' => undef\n               }, 'PAPI::ApachePoA' );\n
[Tue Nov 13 16:07:01 2007] [error] [client 193.146.176.179] PAPI-DEBUG#16217_1194966421_oxfordjournals: Processing request: /subject/medicine/
[Tue Nov 13 16:07:01 2007] [error] [client 193.146.176.179] PAPI-DEBUG#16217_1194966421_oxfordjournals: Main Processing request: /subject/medicine/
[Tue Nov 13 16:07:01 2007] [error] [client 193.146.176.179] PAPI-DEBUG#16217_1194966421_oxfordjournals: Processing request: /subject/medicine/
[Tue Nov 13 16:07:01 2007] [error] [client 193.146.176.179] PAPI-DEBUG#16217_1194966421_oxfordjournals: Main: Cookies received:\n Hcook=#Vc34bu4/cv0za1LXxfPjp+lXYTs95qqyEuP6O54wg9Ln2aIiA7U4HuITJBLpwg6ocJDXLFbWOT8n6chQYGp4lQ==#, Lcook=#GkIzsSDwyYX3AeK4kPpeYz0BOTghy72lR9l98dBd0MT1CepO9JDf6iv9cfJfn0Dt#
[Tue Nov 13 16:07:01 2007] [error] [client 193.146.176.179] PAPI-DEBUG#16217_1194966421_oxfordjournals: Lcook OK: user1@MyAS
[Tue Nov 13 16:07:01 2007] [notice] [client 193.146.176.179] PAPI#16217_1194966421_oxfordjournals: Access OK to oxfordjournals: user1@MyAS: /subject/medicine/
[Tue Nov 13 16:07:01 2007] [notice] [client 193.146.176.179] PAPI#16217_1194966421_oxfordjournals: Resolving request /subject/medicine/ to domain oxfordjournals.org
[Tue Nov 13 16:07:01 2007] [notice] [client 193.146.176.179] PAPI#16217_1194966421_oxfordjournals: Fetching remote URL: http://subject.oxfordjournals.org/medicine/


Thanks!!!
Gustavo



Diego R. Lopez escribi:
> Hi Gustavo,
>
> On 12 Nov 2007, at 16:33, Gustavo Roig wrote:
>
>> Hello friends!!
>>
>> I'm trying  configure  a new PoA in my  PAPI server, but  I'm having
>> many problems for  run it . Exactly, I need access to some journals at
>> oxfordjournals.org and I'am using this proxy settings:
>>
>> http://papi.rediris.es/proxy/oxfordjournals.org.ppspec
>>
>> It was impossible use Remote_Domain mode ("Forbiden")  , so I've chosen
>> Remote_URL:
> . . .
>> This PoA can't rewrite url like http://eurheartj.oxfordjournals.org/
>> and translate it to http://oxfordjournals.mydomain.es/euheartj
>
> That's because that type of translatioin can only be done if you use
> Remote_Domain
> mode (that works for an entire domain). Remote_URL works for a single
> server.
>
> So you must use Remote_Domain... Which kind of "Forbidden" error did
> you get with the
> proxy spec at the repository and from where?
>
> Be goode,
>
>
> -- 
> "Esta vez no fallaremos, Doctor Infierno"
>
> Dr Diego R. Lopez
>
> Red.es - RedIRIS
> The Spanish NREN
>
> e-mail: [log in para visualizar]
> jid:    [log in para visualizar]
> Tel:    +34 955 056 621
> Mobile: +34 669 898 094
> -----------------------------------------
>


-- 
***************************
HOSPITAL "12 de OCTUBRE"
BIBLIOTECA
Gustavo Roig
Avda. Andaluca - Km 5,400
28.041 - MADRID
Tel.: 91 390 8551
Fax: 91 390 8358
mailto: [log in para visualizar]
***************************

ATOM RSS1 RSS2