Hello,

let me suggest a fix for this RC-bug.

Begin by removing the assignment

     DEB_DH_LINK_ARGS := /usr/share/phpsysinfo /var/www/phpsysinfo

in debian/rules. Then the package is mmediately buildable  without
this RC-error appearing, but the user should somehow be supplied
the information that Phphsysinfo must be activated by declaring
an alias with the web server.

I have checked this with Apache2 and Lighttpd:

    Alias /phpsysinfo /usr/share/phpsysinfo
    <Location /phpsysinfo>
        Options None
        Order deny,allow
        Deny from all
        Allow from localhost
    </Location>

    $HTTP["remoteip"] =~ "127.0.0.1" {
        alias.url += ( "/phpsysinfo/" => "/usr/share/phpsysinfo/" )
    {

Either makes Phpsysinfo functional without creating the policy violating
entry '/var/www/phpsysinfo'.


Regards,

-- 
Mats Erik Andersson, fil. dr
<mats.anders...@gisladisker.se>

Attachment: signature.asc
Description: Digital signature

Reply via email to