Hi Susan,

> We don't necessarily need to use https: for everything - it was easier
> to set up with mod_jk
>
> Has anyone set their instance up with http and then used https only  
> for
> authentication?

You can achieve this using mod_rewrite, using rules such as:

## SSL Virtual Host Context
<VirtualHost 1.2.3.4:443>
...

RewriteEngine on

RewriteCond   %{REQUEST_URI}    !^/password-login.*
RewriteRule   ^/(.*)
http://%{HTTP_HOST}/$1 [L,R]

</VirtualHost>

## Non-secure Virtual Host Context
<VirtualHost 1.2.3.4:80>
...

RewriteEngine on

RewriteCond   %{REQUEST_URI}    ^/password-login.*
RewriteRule   ^/(.*)
https://%{HTTP_HOST}:443/$1 [L,R]

</VirtualHost>

I hope that helps,


Stuart Lewis
IT Innovations Analyst and Developer
Te Tumu Herenga The University of Auckland Library
Auckland Mail Centre, Private Bag 92019, Auckland 1142, New Zealand
Ph: 64 9 373-7599 x81928
http://www.library.auckland.ac.nz/


------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
DSpace-tech mailing list
DSpace-tech@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dspace-tech

Reply via email to