Menu

#7 Waring

open
nobody
None
5
2005-04-22
2005-04-22
rpinheiro
No

Mano, segue abaixo o erro que estou tendo e as
configuraушes..
[]s

Warning: Invalid argument supplied for foreach() in
/var/www/firewall/include/iptables.inc.php on line 592

cat /etc/sudoers

root ALL=(ALL) ALL
www-data ALL=NOPASSWD: /sbin/iptables
www-data ALL=NOPASSWD: /sbin/iptables-save
www-data ALL=NOPASSWD: /sbin/iptables-restore

cat config.php

<?
$ipt="/sbin/iptables";
$iptsave="/sbin/iptables-save";
$iptrestore="/sbin/iptables-restore";
$iptfile="/etc/iptables.rules";
$language="brazilian-portuguese";
$counters="no";
?>

which iptables iptables-save iptables-restore
/sbin/iptables
/sbin/iptables-save
/sbin/iptables-restore

ps aux |grep apache

www-data 15452 0.0 1.3 72620 3556 ? S 15:25
0:00 /usr/sbin/apache
www-data 15453 0.0 1.4 72804 3704 ? S 15:25
0:00 /usr/sbin/apache
www-data 15454 0.0 1.4 72772 3660 ? S 15:25
0:00 /usr/sbin/apache
www-data 15455 0.0 1.4 72772 3664 ? S 15:25
0:00 /usr/sbin/apache

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.