Thanks Olivier. In the end the certificate came through just in time,
so I didn't have to do this.

On Tue, Sep 27, 2011 at 2:39 PM, Olivier Bilodeau <[email protected]> wrote:
>
>>  PF is operating in VLAN mode but I need to have users redirected to
>> the http captive portal page for a few days.
>>
>> Looking at the documentation - is it just a matter of creating 2 lines
>> in my config file:
>>
>> [inline]
>> portal_redirect=ip
>>
>> Can I do this in VLAN mode? Will it cause any other problems?
>
> This won't work in VLAN mode. To have an HTTP (no S) portal in VLAN mode
> edit your conf/httpd.conf file under virtual host *:80 to change the
> redirect statement from:
>  RewriteRule ^.*$
> https://%%hostname%%.%%domain%%/captive-portal?destination_url=http://%{HTTP_HOST}%{REQUEST_URI}
> [R=307,L]
>
> to:
>  RewriteRule ^.*$
> http://%%hostname%%.%%domain%%/captive-portal?destination_url=http://%{HTTP_HOST}%{REQUEST_URI}
> [R=307,L]
>
> So, basically, just get rid of the s in https in the redirect.
>
> You should really understand the risks of doing so, especially if you
> use important credentials for authentication like AD (they could be
> sniffed).
>
> If anyone would like this put behind a configuration flag, we could do
> it. File a feature ticket in the tracker: packetfence.org/bugs.
>
> Thanks,
> --
> Olivier Bilodeau
> [email protected]  ::  +1.514.447.4918 *115  ::  www.inverse.ca
> Inverse inc. :: Leaders behind SOGo (www.sogo.nu) and PacketFence
> (www.packetfence.org)
>
> ------------------------------------------------------------------------------
> All the data continuously generated in your IT infrastructure contains a
> definitive record of customers, application performance, security
> threats, fraudulent activity and more. Splunk takes this data and makes
> sense of it. Business sense. IT sense. Common sense.
> http://p.sf.net/sfu/splunk-d2dcopy1
> _______________________________________________
> Packetfence-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/packetfence-users
>

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a
definitive record of customers, application performance, security
threats, fraudulent activity and more. Splunk takes this data and makes
sense of it. Business sense. IT sense. Common sense.
http://p.sf.net/sfu/splunk-d2dcopy1
_______________________________________________
Packetfence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to