Like the summary tells, I suggest that the ebuild should check to see if "cgi.fix_pathinfo = 1" in /etc/php/cgi-php4/php.ini otherwise cacti would not let users login. Or it should write it on the help at the end of the installation. Thank you, P.
Odd, I don't have cgi enabled and I can login fine. Perhaps I might try recompiling php with cgi support and see what happens.
I'm sorry of not being clear: I mean that the problem is when cacti is run by a cgi php. So you should recompile it with "cgi" flag, and then use the cgi version to run Cacti. You can try it using Lighttpd, without changing the Apache you may have installed or vice versa.
I did not manage to reproduce bug with php-4 build as cgi and apache. All works fine here. php-4.4.4-r6 USE="-adabas -apache -apache2 -bcmath -berkdb -birdstep -bzip2 -calendar -cdb cgi -cjk cli -concurrentmodphp -crypt ctype -curl -db2 -dbase -dbmaker -dbx -debug -discard-path -doc -empress -empress-bcs -esoob -exif expat fastbuild -fdftk -filepro -firebird -flatfile force-cgi-redirect -frontbase ftp gd -gd-external -gdbm -gmp -hardenedphp -hyperwave-api iconv -imap -informix -inifile -interbase -iodbc ipv6 -java-external -java-internal -kerberos -ldap -libedit -mcal -mcve memlimit -mhash -ming -mnogosearch -msql -mssql mysql -ncurses nls -oci8 -oci8-instant-client -odbc -oracle7 -overload -ovrimos -pcntl pcre -pfpro pic posix -postgres -readline -recode -sapdb session -sharedext -sharedmem -snmp sockets -solid -spell -sqlite ssl -sybase -sybase-ct -sysvipc -threads tokenizer truetype -unicode -wddx xml -xmlrpc -xpm xsl -yaz -zip zlib" net-www/apache-2.0.58-r2 USE="apache2 doc mpm-worker ssl threads -debug -ldap -mpm-itk -mpm-leader -mpm-peruser -mpm-prefork -mpm-threadpool (-selinux) -static-modules" $ awk 'BEGIN{FS="="} /(^[^;]cgi.fix_pathinfo)/{if($2=1) print "exist"}' \ /etc/php/cgi-php4/php.ini exist Paolo: Could you, please, post your confirm that you still manage to reproduce this bug with cacti-0.8.6i-r1? And if so then attach you php.ini and lighttpd configuration files. Thank you.
Well. Closing now. Please, reopen if you have anything to add.