<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html; charset=windows-1252"
 http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
I don't think this is what I am looking for. Sorry if I explained it
wrongly.<br>
<br>
We run Drupal websites on virtual hosts. With the Drupal shibboleth
login module, I was able to set for each site and its virtual host the
shibboleth login. They are sites like: <a class="moz-txt-link-abbreviated" href="http://www.site1.com">www.site1.com</a>, <a class="moz-txt-link-abbreviated" href="http://www.site2.com">www.site2.com</a>.<br>
However, to login into sites like: <a class="moz-txt-link-abbreviated" href="http://www.domain.com/site1">www.domain.com/site1</a> or
<a class="moz-txt-link-abbreviated" href="http://www.domain.com/path/site2">www.domain.com/path/site2</a>, I cannot make it work. I want to be forward
to the IdP login page when I hit these paths.<br>
<br>
Is there anything to be configured in the /etc/shibboleth2.xml
differently than the "usual" sites?<br>
<br>
Thanks again,<br>
Pedro.<br>
<br>
<br>
On 26/09/2012 10:56, Yannick Béot wrote:
<blockquote
 cite="mid:CAMer1X4j3CWdMwoGS18pMnLmU15jmq9AF45bAuj13w_xohMs4w@mail.gmail.com"
 type="cite">Hi,
  <div><br>
  </div>
  <div>You can add the following lines in your apache conf for the
corresponding virtual host (<a moz-do-not-send="true"
 href="http://www.xpto.com/app1" target="_blank"
 style="font-family: 'Courier New';">www.xpto.com</a>)</div>
  <div><br>
  </div>
  <div><span lang="fr">
  <pre>&lt;Location /appl&gt;
AuthType shibboleth
ShibRequestSetting requireSession 1
require valid—user
&lt;/Location&gt;</pre>
  </span><span style="font-family: monospace; white-space: pre;">&lt;Location
/path2/app2</span><span
 style="font-family: monospace; white-space: pre;">&gt;</span><span
 style="font-family: monospace; white-space: pre;"><br>
AuthType shibboleth</span><span
 style="font-family: monospace; white-space: pre;"><br>
ShibRequestSetting requireSession 1</span><span
 style="font-family: monospace; white-space: pre;"><br>
require valid—user</span><span
 style="font-family: monospace; white-space: pre;"><br>
&lt;/Location&gt;</span></div>
  <br>
Y.
  <div>
  <div class="gmail_quote">On Wed, Sep 26, 2012 at 11:32 AM, Pedro
Albuquerque <span dir="ltr">&lt;<a moz-do-not-send="true"
 href="mailto:pedroalb@ebi.ac.uk" target="_blank">pedroalb@ebi.ac.uk</a>&gt;</span>
wrote:<br>
  <blockquote class="gmail_quote"
 style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
    <div bgcolor="#ffffff" text="#000000"><font face="Courier New">Hi,<br>
    <br>
I was able to configure apache (and several virtual hosts) and the
service provider to secure each of the domain names.<br>
However, there is a domain name which has different applications under
paths, like:<br>
    <br>
    <a moz-do-not-send="true" href="http://www.xpto.com/app1"
 target="_blank">www.xpto.com/app1</a><br>
    <a moz-do-not-send="true" href="http://www.xpto.com/path2/app2"
 target="_blank">www.xpto.com/path2/app2</a><br>
    <br>
Do you have any idea how to configure apache and the service provider
(shibboleth2.xml) to achieve this?<br>
    <br>
Thanks,<br>
Pedro.<br>
    </font>
    </div>
    <br>
--<br>
To unsubscribe from this list send an email to <a
 moz-do-not-send="true" href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a><br>
  </blockquote>
  </div>
  <br>
  </div>
  <pre wrap="">
<fieldset class="mimeAttachmentHeader"></fieldset>
--
To unsubscribe from this list send an email to <a class="moz-txt-link-abbreviated" href="mailto:users-unsubscribe@shibboleth.net">users-unsubscribe@shibboleth.net</a></pre>
</blockquote>
</body>
</html>