Summary: | Can't login in net-analyzer/cacti when PHP is cgi and cgi.fix_pathinfo = 0 (default) | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Paolo <paolo.gabrielli> |
Component: | New packages | Assignee: | Gentoo Netmon project <netmon> |
Status: | RESOLVED WORKSFORME | ||
Severity: | normal | CC: | ramereth |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Other | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Paolo
2006-10-14 07:46:38 UTC
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. |