Subject: | |
Emisor: | |
Reply To: | |
Fecha: | Tue, 14 Oct 2008 13:47:55 +0200 |
Content-Type: | text/plain |
Parts/Attachments: |
|
|
Hola a todos,
sigo aquí intentando configurar, usando PAPI 1.5, un AS + PoA. Ya tengo
funcionando el AS, y ahora me encuentro con una pequeña dificultad al
instalar el PoA.
El AS está en host:8888 y estoy intentando que el PoA se encuentre en
host:80/poa. Siguiendo la guía de configuración del PoA para PAPI 1.5
(https://forja.rediris.es/docman/view.php/42/447/PAPI_PoA-Config.html),
al acceder al PoA obtengo en el navegador un error 500, y en los logs
de Apache lo siguiente:
[Tue Oct 14 13:33:27 2008] [notice] [client 150.214.142.56]
PAPI#27055_1223984007: PoA::set_parameters# Servername =
<host>\n, referer:
http://host:8888/cgi-bin/AuthServer
[Tue Oct 14 13:33:27 2008] [notice] [client 150.214.142.56]
PAPI#27055_1223984007: PoA::set_parameters# Server_ID = <prueba>\n,
referer: http://host:8888/cgi-bin/AuthServer
[Tue Oct 14 13:33:27 2008] [error] [client 150.214.142.56]
PAPI#27055_1223984007: Apache Server_ID = <prueba>, referer:
http://host:8888/cgi-bin/AuthServer
[Tue Oct 14 13:33:27 2008] [error] [client 150.214.142.56]
PAPI#27055_1223984007: PAPI XML Service_ID = <>, referer:
http://host:8888/cgi-bin/AuthServer
[Tue Oct 14 13:33:27 2008] [error] [client 150.214.142.56]
PAPI#27055_1223984007: Can't instance a new PoA, the Service_ID from
Apache conf. is not equal to the id for the Location from PAPI XML
configuration file., referer:
http://host:8888/cgi-bin/AuthServer
Parece que no esté funcionando la directiva PerlSetVar. Os pongo la
parte de la configuración más relevante, por si alguien detectase algún
error :) :
--8<--
httpd.conf:
<VirtualHost *:80>
...
<Location /poa>
PerlSetVar Service_ID prueba
PerlOptions +ParseHeaders
SetHandler perl-script
PerlAccessHandler PAPI::Main
</Location>
</VirtualHost>
papi_conf.xml:
<Server name="host" port="80" independent="0">
<Location path="/poa" id="prueba">
<PAPI_AS id="PAPIpreprod" url="http://host:8888/AS">PAPI preproducci on</PAPI_AS>
<GPoA_URL>wayf:built-in</GPoA_URL>
</Location>
</Server>
-->8--
Gracias de nuevo, un saludo.
--
Jorge López Pérez
jabber: [log in para visualizar]
|
|
|