Hi,

We plan to use our CAS in order to access to the intranet and , for the user, to his account.

I work with mod-proxy on apache and my questions are about configuration.

I've created 3 files in /apache2/conf.d

1) cas.conf

<Proxy *>
             Order Allow,Deny
             Allow from All
             AuthName "Acces Intranet"
             AuthType CAS
             Require valid-user ************************
</Proxy>


Can i duplicate this block for the opac in the same file?


2)proxy_opac.conf

ProxyRequests On
ProxyPass /cgi-bin/koha/ !
ProxyPass /cgi-bin/koha/  http://localhost:80/cgi-bin/opac/opac-user.pl
ProxyPassReverse /cgi-bin/koha/  http://localhost:80/cgi-bin/opac/opac-user.pl
ProxyPreserveHost On

I've some doubt on the writing because i've the following error

HTTP Status 404


type Status report

message /cgi-bin/koha/opac-user.pl

description The requested resource (/cgi-bin/koha/opac-user.pl) is not available.





3)proxy_intranet.conf
ProxyRequests On
ProxyPass /cgi-bin/koha !
ProxyPass /cgi-bin/koha      http://localhost:8080/cgi-bin/koha/mainpage.pl
ProxyPassReverse /cgi-bin/koha   http://localhost:8080/cgi-bin/koha/mainpage.pl
ProxyPreserveHost On



Best regards

samuel