PacketFence
Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001695PacketFenceconfigurationpublic2013-08-20 13:512013-08-20 13:54
Reportermuhlig 
Assigned Tofrancis 
PrioritynormalSeveritymajorReproducibilityalways
StatusresolvedResolutionfixed 
PlatformOSOS Version
Product Version4.0.5 
Target VersionFixed in Version4.0.6 
Summary0001695: Apache error for guest: You don't have permission to access /cgi-perl/email_activation.cgi on this server.
Description./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.”
Additional InformationI'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.
TagsNo tags attached.
fixed in git revisiondcc1f6d2758e1f92329311b678d71ea79d7bdc5c
fixed in mtn revision
Attached Files

- Relationships

-  Notes
(0003422)
francis (administrator)
2013-08-20 13:54

Fixed a few days ago.

- Issue History
Date Modified Username Field Change
2013-08-20 13:51 muhlig New Issue
2013-08-20 13:54 francis fixed in git revision => dcc1f6d2758e1f92329311b678d71ea79d7bdc5c
2013-08-20 13:54 francis Note Added: 0003422
2013-08-20 13:54 francis Status new => resolved
2013-08-20 13:54 francis Fixed in Version => 4.0.6
2013-08-20 13:54 francis Resolution open => fixed
2013-08-20 13:54 francis Assigned To => francis


Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker