You must create another virtual host at another port (for example, 8081) for the staff area and enable SSL for that virtual host, and it will require another SSL certificate. Your staff will need to use (example) <a href="https://127.0.1.1:8081">https://127.0.1.1:8081</a> if they want to use SSL, and <a href="http://127.0.1.1:8080">http://127.0.1.1:8080</a> if they don't want to use SSL.<div>
<br></div><div>Note that <a href="https://127.0.1.1">https://127.0.1.1</a> is in fact an alias for <a href="https://127.0.1.1:443">https://127.0.1.1:443</a>. You already used 443 for the OPAC, so you'll need another port for the staff.<br>
<div><br></div><div>--Mizst<br><div><br><br><div class="gmail_quote">2011/5/7 Altaf Mahmud <span dir="ltr"><<a href="mailto:altaf.mahmud@gmail.com">altaf.mahmud@gmail.com</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello,<br><br>I'm trying to implement SSL in my Koha server running on Debian 6.0 (squeeze). I've implemented it for my OPAC view, I've created another file 'koha-ssl' in ../apache2/sites-available/ directory and enabled it. I've edited ../apache2/sites-available/koha like following:<br>
<br>NameVirtualHost *:80<br><VirtualHost <a href="http://127.0.1.1:80" target="_blank">127.0.1.1:80</a>><br clear="all"><br> .....<br> .....<br><br></VirtualHost><br><br>And ../apache2/sites-available/koha-ssl like following:<br>
<br>NameVirtualHost *:443<br><VirtualHost <a href="http://127.0.1.1:443" target="_blank">127.0.1.1:443</a>><br>
.....<br><br> SSLEngine On<br> SSLCertificateFile /etc/ssl/certs/ssl-cert-snakeoil.pem<br> SSLCertificateKeyFile /etc/ssl/private/ssl-cert-snakeoil.key<br> <br>
.....<br></VirtualHost><br><br>Now <a href="https://127.0.1.1/" target="_blank">https://127.0.1.1/</a> is showing the OPAC. But I can't figure it out how to implement it for staff-view <VirtualHost <a href="http://127.0.1.1:8080" target="_blank">127.0.1.1:8080</a>> <br>
Request for port 80 is redirecting to port 443, how can I do that for port 8080? In fact, I don't have any prior idea on doing this; a descriptive suggestion is appropriate for me.<br><br>Thanks.<br><font color="#888888"><br>
<br><br>-- <br>
Altaf Mahmud<br>System Programmer<br>Ayesha Abed Library<br>BRAC University<br>Bangladesh.<br><br>
</font><br>_______________________________________________<br>
Koha mailing list <a href="http://koha-community.org" target="_blank">http://koha-community.org</a><br>
<a href="mailto:Koha@lists.katipo.co.nz">Koha@lists.katipo.co.nz</a><br>
<a href="http://lists.katipo.co.nz/mailman/listinfo/koha" target="_blank">http://lists.katipo.co.nz/mailman/listinfo/koha</a><br>
<br></blockquote></div><br></div></div></div>