Web issue

Hi all,

in my logs i have a lot of:

[Fri Jun 22 10:59:11 2012] [warning]: Use of uninitialized value
$location in string eq at
/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm line 101.
(/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm:101)
[Fri Jun 22 10:59:11 2012] [warning]: Use of uninitialized value
$location in regexp compilation at
/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm line 105.
(/usr/local/share/perl/5.10.1/Plack/Handler/Apache2.pm:101)

so i decide, quick and dirty solution, to add a check for $location
value in /handler/Apache2.pm.

After this patch i got a lot of:

[Fri Jun 22 10:59:33 2012] [warn]: The actual SCRIPT_NAME
(/Search/Simple.html) does NOT match the configured WebPath (). Perhaps
you should Set($WebPath, ‘/Search/Simple.html’); in RT_SiteConfig.pm,
otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)
[Fri Jun 22 10:59:46 2012] [warn]: The actual SCRIPT_NAME
(/Dashboards/Modify.html) does NOT match the configured WebPath ().
Perhaps you should Set($WebPath, ‘/Dashboards/Modify.html’); in
RT_SiteConfig.pm, otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)
[Fri Jun 22 11:00:13 2012] [warn]: The actual SCRIPT_NAME
(/Tools/MyDay.html) does NOT match the configured WebPath (). Perhaps
you should Set($WebPath, ‘/Tools/MyDay.html’); in RT_SiteConfig.pm,
otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)
[Fri Jun 22 11:00:27 2012] [warn]: The actual SCRIPT_NAME
(/Articles/index.html) does NOT match the configured WebPath (). Perhaps
you should Set($WebPath, ‘/Articles/index.html’); in RT_SiteConfig.pm,
otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)
[Fri Jun 22 11:02:07 2012] [warn]: The actual SCRIPT_NAME
(/Prefs/Search.html) does NOT match the configured WebPath (). Perhaps
you should Set($WebPath, ‘/Prefs/Search.html’); in RT_SiteConfig.pm,
otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)
[Fri Jun 22 11:02:19 2012] [warn]: The actual SCRIPT_NAME (/) does NOT
match the configured WebPath (). Perhaps you should Set($WebPath, ‘/’);
in RT_SiteConfig.pm, otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)
[Fri Jun 22 11:02:44 2012] [warn]: The actual SCRIPT_NAME
(/Prefs/Search.html) does NOT match the configured WebPath (). Perhaps
you should Set($WebPath, ‘/Prefs/Search.html’); in RT_SiteConfig.pm,
otherwise your internal links may be broken.
(/opt/rt4/sbin/…/lib/RT/Interface/Web.pm:1148)

Someone can help me fixing this issue ?

Thanks, Michele

Michele Pinassi
Responsabile Telefonia di Ateneo
Servizio Reti, Sistemi e Sicurezza Informatica - Università degli Studi
di Siena
tel: 0577.(23)2169 - fax: 0577.(23)2053

signature.asc (262 Bytes)

[Fri Jun 22 10:59:33 2012] [warn]: The actual SCRIPT_NAME
(/Search/Simple.html) does NOT match the configured WebPath (). Perhaps
you should Set($WebPath, ‘/Search/Simple.html’); in RT_SiteConfig.pm,
otherwise your internal links may be broken.

Can you share your web server configuration? Also, your patch to
Plack. It sounds like you either have a really interesting
configuration or are triggering some sort of bug.

-kevin