I have installed phpmyadmin in /var/www/html and set the alias in lighttpd.conf /phpmyadmin/ to point to /var/www/html/phpmyadmin. However, when I try to access phpmyadmin by http://domainname.com/phpmyadmin, I get 404-Not Found error. I wonder if anyone here is able to make phpmyadmin work on lighttpd? thanks
If your document root is /var/www/html, and PHPMyAdmin is installed in phpmyadmin/, then you don't need an alias pointing from phpmyadmin to phpmyadmin.
I got it working on Debian lenny, I have phpmyadmin at its default location - /usr/share/phpmyadmin/ and an alias of /pma/ to /usr/share/phpmyadmin/ It didn't work, so, All I had to do was to change file ownerships to get it working, lighthttpd usually works under a user 'www-data' and the default install gave ownership and group id of root to the files in /usr/share/phpmyadmin/ So just try giving a "sudo chown -R root:www-data ." in your phpmyadmin installation location. Worked for me.