Subject: | |
Emisor: | |
Reply To: | |
Fecha: | Mon, 29 Jun 2009 12:05:37 +0200 |
Content-Type: | multipart/signed |
Parts/Attachments: |
|
|
Hola Francisco,
El 25/06/2009, a las 12:24, Francisco Vivancos escribió:
> Hola,
>
> al meter la url para acceder a la aplicacion http://poa.localhost/
> glpi da
> error, el log de apache contiene lo siguiente:
>
> [Thu Jun 25 12:18:41 2009] [notice] [client 127.0.0.1]
> PAPI#19074_1245925121: PoA::set_parameters# Servername =
> <poa.localhost>\n
> [Thu Jun 25 12:18:41 2009] [notice] [client 127.0.0.1]
> PAPI#19074_1245925121: PoA::set_parameters# Server_ID = <glpi>\n
> [Thu Jun 25 12:18:41 2009] [error] [client 127.0.0.1]
> PAPI#19074_1245925121:
> Apache Server_ID = <glpi>
> [Thu Jun 25 12:18:41 2009] [error] [client 127.0.0.1]
> PAPI#19074_1245925121:
> PAPI XML Service_ID = <>
> [Thu Jun 25 12:18:41 2009] [error] [client 127.0.0.1]
> PAPI#19074_1245925121:
> 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.
>
> por lo que se la diretiva PerlSetVar Service_ID glpi debe ser igual
> al id
> que hay en <location path="/glpi" id="glpi"....., estan iguales
> pero parece
> ser que tambien hay que poner un PAPI XML Service_ID, pero no se
> donde se
> debe indicar.
Lo tienes bien configurado, no hay más sitios donde debes poner el
Service_ID, deben coincidir entre la configuración de Apache y la del
XML de PAPI.
Me podrías, por favor, enviar el volcado de Apache al arrancarlo...
por qué te dará información de PAPI no?
Y otra cosa, el nivel de Log de Apache está en modo "debug"? es para
ver si podemos obtener más información. Ah, y pon el PAPI también en
modo Debug, esto es <Debug>1</Debug>
saludos!
> ¿Sabe alguien que esta pasando?
>
> dejo acontinuación el listen.conf y el papi_conf.xml:
>
> LIsten:conf:::
>
> NameVirtualHost *:80
> NameVirtualHost *:443
> <VirtualHost *:80>
> ServerName localhost
> RedirectMatch (.*) https://localhost/AuthServer
> </VirtualHost>
>
> <VirtualHost *:443>
> ServerName localhost
> ErrorDocument 404 https://localhost/AuthServer
> RedirectMatch /index.html https://localhost/AuthServer
> <IfModule mod_ssl.c>
> SSLEngine on
> SSLCertificateFile /etc/apache2/apache.pem
> </IfModule>
>
> </VirtualHost>
> <VirtualHost *:80>
> ServerName poa.localhost
> DocumentRoot /srv/www/htdocs
> ServerAdmin admin@localhost
>
> <Location /glpi>
> PerlSetVar Service_ID glpi
> PerlOptions +ParseHeaders
> SetHandler perl-script
> PerlAccessHandler PAPI::Main
> </Location>
> </VirtualHost>
>
>
> Papi_conf.xml::::
>
>
> <?xml version="1.0" encoding="UTF-8" standalone="no"?>
>
> <!DOCTYPE PAPI_Configuration SYSTEM "file:///./papi_conf.dtd">
>
> <PAPI_Configuration>
>
> <Global>
>
> <!-- <Accept_File>/usr/local/apache/conf/PAPIConf/PoA/blueball.gif</
> Accept_File>
>
> <Reject_File>/usr/local/apache/conf/PAPIConf/PoA/redball.gif</
> Reject_File>
>
> -->
>
> <Accept_File>./image_ok.png</Accept_File>
>
> <Reject_File>./image_nok.png</Reject_File>
>
> <Debug>0</Debug>
>
> <HKey>YWNhOWZkNzE4MDRhNGU3YjVhNDM1ODkxNzgwMzNmOTU=</HKey>
>
> <LKey>ZjYwNTk2NGEyMGNjNjhkMmZlZjM0NDMwMDlhNWYyMWU=</LKey>
>
> <Pubkeys_Path>/usr/local//PAPI/PoA</Pubkeys_Path>
>
> <Hcook_DB>/usr/local/PAPI/PoA/hcookdb</Hcook_DB>
>
> <Lcook_Timeout>18000</Lcook_Timeout>
>
> <CRC_Timeout>1800</CRC_Timeout>
>
> <URL_Timeout>1800</URL_Timeout>
>
> <Req_DB>/usr/local/PAPI/PoA/req_db.mldbm</Req_DB>
>
> <PAPI_AS id="MyAS" url="http://localhost/cgi-bin/AuthServer">PAPI
> usando
> Apache-2.00</PAPI_AS>
>
> <!-- <GPoA_URL>wayf:built-in</GPoA_URL> -->
>
> <!-- <SPOCP_Action>accept</SPOCP_Action> -->
>
> </Global>
>
> <!--
> *********************************************************************** -->
>
> <!-- Protecting a location local to the server the PoA lives in: -->
> <Server name="poa.localhost" port="80" independent="0">
> <Auth_Location>/cookie_handler.cgi</Auth_Location>
> <Location path="/glpi" id="glpi" filtered="true"
> independent="false">
> <PAPI_Filter regex="default" action="reject"></PAPI_Filter>
> </Location>
> </Server>
>
> <!-- END OF: Protecting a location local to the server the PoA lives
> in: -->
>
>
>
> </PAPI_Configuration>
>
> Gracias por todo
>
> Un Saludo.
> Francisco.
>
--
Daniel García Franco E-mail: [log in para visualizar]
Jabber: [log in para visualizar]
Red.es/RedIRIS Tef:+34 955 05 66 23
Edificio CICA
Avenida Reina Mercedes, s/n
41012 Sevilla
SPAIN
- Red Académica y Científica española (http://www.rediris.es) -
- Spanish NREN (http://www.rediris.es) -
|
|
|