I had two directories containing the weblogin files

/usr/local/share/weblogin/
and
/usr/local/webkdc/share/weblogin

when I changed in /etc/httpd/conf.d/webkdc.conf the following lines :

ScriptAlias /login "/usr/local/webkdc/share/
weblogin/login.fcgi"
ScriptAlias /logout "/usr/local/webkdc/share/weblogin/logout.fcgi"
ScriptAlias /pwchange "/usr/local/webkdc/share/weblogin/pwchange.fcgi"
Alias /images "/usr/local/webkdc/share/weblogin/generic/images/"
Alias /help.html
"/usr/local/webkdc/share/weblogin/generic/templates/help.html"

by

ScriptAlias /login "/usr/local/share/weblogin/login.fcgi"
ScriptAlias /logout "/usr/local/share/weblogin/logout.fcgi"
ScriptAlias /pwchange "/usr/local/share/weblogin/pwchange.fcgi"
Alias /images "/usr/local/share/weblogin/generic/images/"
Alias /help.html \
        "/usr/local/share/weblogin/generic/templates/help.html"

everything is working now

Thanks a lot for your help.






2012/11/8 James James <jre...@gmail.com>

> Oups ... the semicolon was missing. Thanks.
>
> my  /etc/httpd/conf.d/ssl/.conf contains :
> <VirtualHost _default_:443>
> SSL ....
>   <Location /webkdc-service>
>      SetHandler webkdc
>   </Location>
>
> </VirtualHost>
>
>
> in my /etc/httpd/conf.d/webkdc.conf :
> --
> LoadModule webkdc_module modules/mod_webkdc.so
>
> WebKdcServiceTokenLifetime 30d
> WebKdcKeyring conf/webkdc/keyring
> WebKdcKeytab conf/webkdc/webkdc.keytab
> WebKdcTokenAcl conf/webkdc/token.acl
>
> WebKdcDebug on
> LogLevel debug
>
>
> ScriptAlias /login "/usr/local/webkdc/share/weblogin/login.fcgi"
> ScriptAlias /logout "/usr/local/webkdc/share/weblogin/logout.fcgi"
> ScriptAlias /pwchange "/usr/local/webkdc/share/weblogin/pwchange.fcgi"
> Alias /images "/usr/local/webkdc/share/weblogin/generic/images/"
> Alias /help.html
> "/usr/local/webkdc/share/weblogin/generic/templates/help.html"
> ---
>
>
> /etc/httpd/conf.d/webkdc contains nothing about the webkdc-service is that
> correct  ?
>
>
>
>
>
> 2012/11/8 Russ Allbery <ea...@windlord.stanford.edu>
>
>> James James <jre...@gmail.com> writes:
>>
>> > I am using the second an third solution but the first one give me the
>> > same error as previously.
>>
>> I'm pretty sure that this means the /webkdc-service/ URL still isn't
>> configured for localhost.  Once you get it right:
>>
>> env PERL_LWP_SSL_VERIFY_HOSTNAME=0 GET https://localhost/webkdc-service/
>>
>> will return Bad Request instead of the URL not found error.  This is the
>> way that we've always run our WebLogin servers, so I know it does works.
>>
>> > Now there is an error in the /etc/webkldc/webkdc.conf :
>>
>> > [root@webkdc ~]# cat /etc/webkdc/webkdc.conf
>> > #$ENV{PERL_LWP_SSL_VERIFY_HOSTNAME} = '0';
>> > $ENV{PERL_LWP_SSL_CA_FILE} = '/etc/pki/CA/certs/ca-cert-All.crt'
>>
>> Need a semicolon at the end of this line.
>>
>> --
>> Russ Allbery <ea...@windlord.stanford.edu>
>> Technical Lead, ITS Infrastructure Delivery Group, Stanford University
>>
>>
>


Reply via email to