apache2.conf for cas with Location filter for restlet crap mapped on /cas/v1, so requests to restlet are restriced to IPv4 11.22.33.44
<VirtualHost *:443>
ServerName nci-cas4.ala.org.au
ServerAdmin support@ala.org.au
SSLEngine on
SSLCipherSuite ALL:!ADH:!EXPORT56:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP:+eNULL
SSLCertificateFile /etc/apache2/ala.org.au.crt
SSLCertificateKeyFile /etc/apache2/ala.org.au.key
SSLCertificateChainFile /etc/apache2/ala.org.au.chain.crt
DocumentRoot /srv/nci-cas4.ala.org.au/www/
<Directory />
Require all granted
</Directory>
<Directory /srv/nci-cas4.ala.org.au/www/>
Options Indexes FollowSymLinks MultiViews
AllowOverride None
Order allow,deny
Allow from all
</Directory>
ErrorLog ${APACHE_LOG_DIR}/error.log
LogLevel warn
CustomLog ${APACHE_LOG_DIR}/access.log combined
ProxyRequests Off
ProxyPreserveHost On
ProxyVia full
ProxyPass /cas ajp://localhost:8009/cas
ProxyPass /userdetails ajp://localhost:8009/userdetails
</VirtualHost>
<VirtualHost *:80>
ServerName nci-cas4.ala.org.au
Redirect permanent / https://nci-cas4.ala.org.au/
</VirtualHost>
<Location /cas/v1 >
Order deny,allow
Deny from all
Allow from 11.22.33.44
</Location>