PacketFence - BTS - PacketFence
View Issue Details
0001695PacketFenceconfigurationpublic2013-08-20 13:512013-08-20 13:54
muhlig 
francis 
normalmajoralways
resolvedfixed 
4.0.5 
4.0.6 
dcc1f6d2758e1f92329311b678d71ea79d7bdc5c
0001695: Apache error for guest: You don't have permission to access /cgi-perl/email_activation.cgi on this server.
./lib/pf/services/apache.pm

line 94:

    my $guest_regist_allowed = $guest_self_registration{'enabled'};

However, $guest_self_registration{'enabled'} is undefined. The effect is:

line 95:

    if ($guest_regist_allowed && isenabled.............................

and line 102:

    if ($guest_regist_allowed && ($email_enabled.....................

conditions are not fulfilled and ./var/conf/captive-portal-common.conf is not properly generated and some URIs are not allowed from all, thus bringing WWW error:

   “You don't have permission to access /cgi-perl/email_activation.cgi on this server.”
I'd advice simply get rid of $guest_regist_allowed variable and accordingly modify these two conditions. Otherwise you need to define $guest_self_registration{'enabled'} somewhere.
No tags attached.
Issue History
2013-08-20 13:51muhligNew Issue
2013-08-20 13:54francisfixed in git revision => dcc1f6d2758e1f92329311b678d71ea79d7bdc5c
2013-08-20 13:54francisNote Added: 0003422
2013-08-20 13:54francisStatusnew => resolved
2013-08-20 13:54francisFixed in Version => 4.0.6
2013-08-20 13:54francisResolutionopen => fixed
2013-08-20 13:54francisAssigned To => francis

Notes
(0003422)
francis   
2013-08-20 13:54   
Fixed a few days ago.