Hi all,
I have a fresh installation of version 4.0.1 on RHEL 6.4. All was going 
swimmingly and my open setup network was pushing users to the Packetfence AUP 
acceptance page as it does out of the box.

In previous versions what I have done is edit the 
/usr/local/pf/html/captive-portal/templates/login.html page to use a meta 
refresh and redirect users over to my supplicant configuration page, using the 
passthrough=proxy option in pf.conf and then declaring the setup page in the 
passthroughs section as below:

[passthroughs]
wifisetup=http://wifisetup.cardiffmet.ac.uk

However this is not working on this new install. The client is redirected to 
the correct URL, but I get an Error 404, page cannot be found. Other sites that 
are also declared in the passthroughs do the same thing, where sites not in the 
passthrough section get redirected, so Packetfence IS reading the passthrough 
list.

Captiveportal_error_log shows:
Use of uninitialized value in subroutine entry at 
/usr/local/pf/lib/pf/web/dispatcher.pm line 56.
[Wed May 29 16:10:18 2013] -e: Use of uninitialized value in hash element at 
/usr/local/pf/lib/pf/Portal/ProfileFactory.pm line 53.
[Wed May 29 16:10:18 2013] -e: Use of uninitialized value in concatenation (.) 
or string at /usr/local/pf/lib/pf/Portal/ProfileFactory.pm line 58.
[Wed May 29 16:10:18 2013] -e: Use of uninitialized value in concatenation (.) 
or string at /usr/local/pf/lib/pf/Portal/ProfileFactory.pm line 58.

Portalerror_log shows:
[Wed May 29 15:16:21 2013] [warn] RSA server certificate CommonName (CN) 
`127.0.0.1' does NOT match server name!?
[Wed May 29 15:16:21 2013] [warn] RSA server certificate CommonName (CN) 
`127.0.0.1' does NOT match server name!?
[Wed May 29 15:16:21 2013] [warn] RSA server certificate CommonName (CN) 
`127.0.0.1' does NOT match server name!?
[Wed May 29 15:25:55 2013] [error] [client 192.168.208.20] Attempt to serve 
directory: /usr/local/pf/html/captive-portal/
[Wed May 29 15:26:35 2013] [error] [client 192.168.208.20] Attempt to serve 
directory: /usr/local/pf/html/captive-portal/
[Wed May 29 16:10:20 2013] [error] [client 192.168.208.20] Attempt to serve 
directory: /usr/local/pf/html/captive-portal/

Can anyone please point me in the right direction here?

Cheers,
Andi
------------------------------------------------------------------------------
Introducing AppDynamics Lite, a free troubleshooting tool for Java/.NET
Get 100% visibility into your production application - at no cost.
Code-level diagnostics for performance bottlenecks with <2% overhead
Download for free and get started troubleshooting in minutes.
http://p.sf.net/sfu/appdyn_d2d_ap1
_______________________________________________
PacketFence-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/packetfence-users

Reply via email to