]> git.ipfire.org Git - people/pmueller/ipfire-2.x.git/blobdiff - html/cgi-bin/proxy.cgi
Squid gefixt damit auch andere auth meachanismen funktionieren
[people/pmueller/ipfire-2.x.git] / html / cgi-bin / proxy.cgi
index e0d8452bbe94ce8117e9f2cc3c1a7cfb3b43215e..ee44b0e344291dd8213e7aa8d5c5236c26d20422 100644 (file)
@@ -2166,7 +2166,7 @@ if (-e $disgrp)
 
 # If the password file contains entries, print entries and action icons
 
-if (! -z "$userdb") {
+if ( $userdb ne "" ) {
        print <<END
        <tr>
                <td width='30%' class='boldbase' align='center'><b><i>$Lang::tr{'advproxy NCSA username'}</i></b></td>
@@ -2733,7 +2733,7 @@ sub write_acls
 
 sub writepacfile
 {
-       open(FILE, ">/home/httpd/html/proxy.pac");
+       open(FILE, ">/srv/web/ipfire/html/proxy.pac");
        flock(FILE, 2);
        print FILE "function FindProxyForURL(url, host)\n";
        print FILE "{\n";